Giuseppe Lavagetto has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/391217 )
Change subject: Add some additional unit tests
......................................................................
Add some additional unit tests
Change-Id: I7de54963d5ea1597200e79a017f6893b7c781532
---
M puppet_compiler/tests/test_controller.py
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/software/puppet-compiler
refs/changes/17/391217/1
diff --git a/puppet_compiler/tests/test_controller.py
b/puppet_compiler/tests/test_controller.py
index d3b3526..8af9350 100644
--- a/puppet_compiler/tests/test_controller.py
+++ b/puppet_compiler/tests/test_controller.py
@@ -118,6 +118,9 @@
c.pick_hosts('test.eqiad.wmnet,test.tools.eqiad.wmflabs')
self.assertEqual(cm.exception.code, 2)
+ c = controller.Controller(None, 19, 224570, 'test.eqiad.wmflabs')
+ self.assertEqual(c.realm, 'labs')
+ self.assertEqual(c.m.realm, 'labs')
def test_success(self):
c = controller.Controller(None, 19, 224570, 'test.eqiad.wmnet')
--
To view, visit https://gerrit.wikimedia.org/r/391217
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7de54963d5ea1597200e79a017f6893b7c781532
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/puppet-compiler
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits