Philipp Hörist pushed to branch master at gajim / gajim
Commits: 5c0ff1de by André Apitzsch at 2018-11-17T10:23:38Z Test: Fix KeyError The added account causes an issue with test_gui_interface, so the account needs to be removed again - - - - - dd0b7260 by André Apitzsch at 2018-11-17T10:25:24Z CI: Make test verbose - - - - - a1b798b8 by André Apitzsch at 2018-11-17T10:25:24Z Remove useless comment - - - - - 3 changed files: - .gitlab-ci.yml - test/no_gui/unit/test_protocol_caps.py - test/unit/test_gui_interface.py Changes: ===================================== .gitlab-ci.yml ===================================== @@ -10,7 +10,7 @@ stages: run-test: stage: test script: - - python3 setup.py test -s test.no_gui -q + - python3 setup.py test -s test.no_gui run-mypy: stage: test ===================================== test/no_gui/unit/test_protocol_caps.py ===================================== @@ -31,6 +31,9 @@ class TestConnectionCaps(unittest.TestCase): self.module._account = 'account' self.module._capscache = MagicMock() + def tearDown(self): + app.contacts.remove_account('account') + def _nec_caps_presence_received(self, obj): self.assertTrue( isinstance(obj.client_caps, caps_cache.ClientCaps), ===================================== test/unit/test_gui_interface.py ===================================== @@ -53,5 +53,4 @@ class TestInterface(unittest.TestCase): if __name__ == "__main__": - #import sys;sys.argv = ['', 'Test.test'] unittest.main() View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/fb5cee69cbd11bf37ec53c4ee49a622889e22035...a1b798b8fcbf8cae80a552de7728b74c0e90e4bb -- View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/fb5cee69cbd11bf37ec53c4ee49a622889e22035...a1b798b8fcbf8cae80a552de7728b74c0e90e4bb You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits