diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-03-31 16:32:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 16:32:40 -0400 |
commit | b698b349c827f30fa60de55e2469a21ae4342669 (patch) | |
tree | 91d76d0bc508d39b4de8ee6a06a0e3dcb245cb96 /cloudinit/cmd/tests/test_status.py | |
parent | c478d0bff412c67280dfe8f08568de733f9425a1 (diff) | |
download | vyos-cloud-init-b698b349c827f30fa60de55e2469a21ae4342669.tar.gz vyos-cloud-init-b698b349c827f30fa60de55e2469a21ae4342669.zip |
CiTestCase: stop using and remove sys_exit helper (#283)
This shim was required to support Python 2.6, so we no longer need it.
Diffstat (limited to 'cloudinit/cmd/tests/test_status.py')
-rw-r--r-- | cloudinit/cmd/tests/test_status.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/cmd/tests/test_status.py b/cloudinit/cmd/tests/test_status.py index 1ed10896..1c9eec37 100644 --- a/cloudinit/cmd/tests/test_status.py +++ b/cloudinit/cmd/tests/test_status.py @@ -382,7 +382,6 @@ class TestStatus(CiTestCase): wrap_and_call( 'cloudinit.cmd.status', {'sys.argv': {'new': ['status']}, - 'sys.exit': {'side_effect': self.sys_exit}, '_is_cloudinit_disabled': (False, ''), 'Init': {'side_effect': self.init_class}}, status.main) |