diff --git a/gramps/cli/test/user_test.py b/gramps/cli/test/user_test.py index 4955170e0..fd8c43087 100644 --- a/gramps/cli/test/user_test.py +++ b/gramps/cli/test/user_test.py @@ -151,8 +151,6 @@ class TestUser_quiet(unittest.TestCase): @unittest.skipUnless(MOCKING, "Requires unittest.mock to run") class TestUser_progress(unittest.TestCase): - _progress_begin_step_end = \ - TestUser_quiet.test_progress_can_begin_step_end.__func__ def setUp(self): self.user = user.User() @@ -184,5 +182,11 @@ class TestUser_progress(unittest.TestCase): pass self.assertTrue(MockEP.called) + def _progress_begin_step_end(self): + self.user.begin_progress("Foo", "Bar", 0) + for i in range(10): + self.user.step_progress() + self.user.end_progress() + if __name__ == "__main__": unittest.main()