diff --git a/tests/__init__.py b/tests/__init__.py index 003de47..dbe48b2 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -235,6 +235,7 @@ class Modeltests(unittest.TestCase): self.worker.poll() if self.worker.returncode is not None: raise Exception('Worker failed to start') + time.sleep(2) # Create a couple of users item = pagure.lib.model.User( diff --git a/tests/test_pagure_flask_ui_fork.py b/tests/test_pagure_flask_ui_fork.py index e8285c2..94dc1bc 100644 --- a/tests/test_pagure_flask_ui_fork.py +++ b/tests/test_pagure_flask_ui_fork.py @@ -1881,8 +1881,8 @@ index 0000000..2a552bb commits = _get_commits(output.data) self.assertEqual(commits, [ 'Merge #1 `PR from the feature branch`', - 'A commit on branch feature', 'Add sources file for testing', + 'A commit on branch feature', ]) # Check if the closing notification was added