Revision d1f78278 kamaki/cli/commands/test_cli.py
b/kamaki/cli/commands/test_cli.py | ||
---|---|---|
45 | 45 |
class _test_init(_command_init): |
46 | 46 |
|
47 | 47 |
def main(self, client, method=None): |
48 |
tests.cnf = self.config |
|
49 | 48 |
if method: |
50 |
tests.main([client, method]) |
|
49 |
tests.main([client, method], config=self.config)
|
|
51 | 50 |
else: |
52 |
tests.main([client]) |
|
51 |
tests.main([client], config=self.config)
|
|
53 | 52 |
|
54 | 53 |
|
55 | 54 |
@command(test_cmds) |
Also available in: Unified diff