summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-02-12 09:47:04 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-02-12 09:47:04 -0500
commit088ca5fee4cc99f9143f18a880cdec6712326e1e (patch)
treed46f85076715e69d960beca4726e4ab70a648c3e /testsuite
parentb455ba94256a4b6afccc7d469ed55c0bda6dc13c (diff)
downloadbcfg2-088ca5fee4cc99f9143f18a880cdec6712326e1e.tar.gz
bcfg2-088ca5fee4cc99f9143f18a880cdec6712326e1e.tar.bz2
bcfg2-088ca5fee4cc99f9143f18a880cdec6712326e1e.zip
fixed unit tests
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestACL.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestACL.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestACL.py
index e457ca7c1..86a960701 100644
--- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestACL.py
+++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestACL.py
@@ -209,7 +209,8 @@ class TestACL(TestPlugin, TestClientACLs):
def test_check_acl_ip(self):
acl = self.get_obj()
acl.ip_acls = Mock()
- self.assertEqual(acl.check_acl_ip("192.168.1.10", "ACL.test"),
+ self.assertEqual(acl.check_acl_ip(("192.168.1.10", "12345"),
+ "ACL.test"),
acl.ip_acls.check_acl.return_value)
acl.ip_acls.check_acl.assert_called_with("192.168.1.10", "ACL.test")