diff options
author | Roald de Vries <rdevries@thoughtworks.com> | 2016-09-21 14:43:04 +0200 |
---|---|---|
committer | Roald de Vries <rdevries@thoughtworks.com> | 2016-09-21 14:43:32 +0200 |
commit | a42e2fb603f9f1b82bb18e1636a64eb3bf518884 (patch) | |
tree | 22807b3b5ee05d983cd7d7914d7f2906bdd5bc63 /service/test | |
parent | 1340200d161fc0d8ba0219f3694231aad0caaf62 (diff) |
add manhole as an option to config mock
Diffstat (limited to 'service/test')
-rw-r--r-- | service/test/unit/test_application.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/test/unit/test_application.py b/service/test/unit/test_application.py index 649fd62b..e10eae8a 100644 --- a/service/test/unit/test_application.py +++ b/service/test/unit/test_application.py @@ -8,12 +8,13 @@ import pixelated class ApplicationTest(unittest.TestCase): class MockConfig: - def __init__(self, port, host, sslkey=None, sslcert=None): + def __init__(self, port, host, sslkey=None, sslcert=None, manhole=False): self.port = port self.host = host self.sslkey = sslkey self.sslcert = sslcert self.home = 'leap_home' + self.manhole = manhole @patch('leap.common.events.client') @patch('pixelated.application.reactor') |