summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-08-20 10:36:47 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-08-20 10:36:47 -0400
commit4b6d93d6f8e1006cd80f87ca356933d8ed5bef9b (patch)
tree8c11603f597c78c1dfafb13c1736485b7d0bcba3 /tests
parent001e21dd52d82c6984376f52470ff10ba50374e2 (diff)
downloadthird_party-cobbler-4b6d93d6f8e1006cd80f87ca356933d8ed5bef9b.tar.gz
third_party-cobbler-4b6d93d6f8e1006cd80f87ca356933d8ed5bef9b.tar.xz
third_party-cobbler-4b6d93d6f8e1006cd80f87ca356933d8ed5bef9b.zip
Adding zeroconf to changelog
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tests.py b/tests/tests.py
index 291e8c3..7cf939e 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -153,7 +153,9 @@ class Additions(BootTest):
self.failUnlessRaises(CobblerException, self.api.systems().find)
# searching for a list returns a list of correct length
self.assertTrue(len(self.api.systems().find(mac_address="00:16:41:14:B7:71",return_list=True))==1)
-
+ # make sure we can still search without an explicit keyword arg
+ self.assertTrue(len(self.api.systems().find("00:16:41:14:B7:71",return_list=True))==1)
+ self.assertTrue(self.api.systems().find("00:16:41:14:B7:71"))
def test_invalid_distro_non_referenced_kernel(self):
distro = self.api.new_distro()