From 939c49ec84c6e59af7be5245b183642cfbcc87f9 Mon Sep 17 00:00:00 2001 From: Aloys Baillet Date: Sun, 2 Aug 2020 20:56:52 +1000 Subject: [PATCH] Fixed test failure that only happened on main github org Signed-off-by: Aloys Baillet --- python/aswfdocker/tests/test_releaser.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/python/aswfdocker/tests/test_releaser.py b/python/aswfdocker/tests/test_releaser.py index f50a1a82..85938072 100644 --- a/python/aswfdocker/tests/test_releaser.py +++ b/python/aswfdocker/tests/test_releaser.py @@ -34,6 +34,13 @@ def test_package_baseqt_2019_dict(self): sha=utils.get_current_sha(), ) r.gh.repo.create_git_tag_and_release = mock.MagicMock() + + class u: + name = "testuser" + email = "testuser@test.user" + + r.gh.github.get_user = mock.MagicMock(return_value=u()) + r.gather() r.release(dry_run=False) boost_version = list(