From 9939c54b09c1f336a7f64fff95e7055bd8af6a15 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 3 Mar 2021 10:28:57 +0100 Subject: [PATCH] fixup! fixup! tests: Initial import of `congure_reno` tests --- tests/congure_reno/tests/01-run.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/congure_reno/tests/01-run.py b/tests/congure_reno/tests/01-run.py index 139009763a36..76ca374a902e 100755 --- a/tests/congure_reno/tests/01-run.py +++ b/tests/congure_reno/tests/01-run.py @@ -184,7 +184,7 @@ def test_no_setup(self): class TestCongURERenoDefaultInitTests(TestCongUREBase): def setUp(self): super().setUp() - res = self.exec_cmd('cong_setup 0') + res = self.shell.setup(0) self.assertIn('success', res) def test_setup(self): @@ -237,7 +237,7 @@ def test_init(self): class TestCongURERenoDefault(TestCongUREBase): def setUp(self): super().setUp() - res = self.exec_cmd('cong_setup 0') + res = self.shell.setup(0) self.assertIn('success', res) res = self.cong_init() self.assertIn('success', res) @@ -774,8 +774,8 @@ def test_msgs_lost(self): class TestCongURERenoCustomIncDec(TestCongUREBase): def setUp(self): - super().setUp() - res = self.exec_cmd('cong_setup 1') + self.shell.clear() + res = self.shell.setup(1) self.assertIn('success', res) res = self.cong_init() self.assertIn('success', res)