----- "Endi Sukma Dewata" <[email protected]> wrote:
> var addCmd = ipa.createCommand("user-add");
The createCommand() could be implemented like this:
ipa.createCommand = function(method) {
return new IPACommand(this, method);
}
The QUnit test could be implemented like this:
test("test01", function() {
var ipa = new IPA("test/test01", IPA_JSON_FOLDER);
... do something ...
ok(true, "PASSED");
});
--
Endi S. Dewata
_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel