##// END OF EJS Templates
tests: Only skip test if protocol is 'pyro4'
Martin Bornhold -
r435:c1bb40a1 default
parent child Browse files
Show More
@@ -123,7 +123,7 b' class TestMercurialRemoteRepoInvalidatio'
123 """
123 """
124 from rhodecode.lib.vcs.exceptions import CommitDoesNotExistError
124 from rhodecode.lib.vcs.exceptions import CommitDoesNotExistError
125
125
126 if pylonsapp.config['vcs.server.protocol'] != 'http':
126 if pylonsapp.config['vcs.server.protocol'] == 'pyro4':
127 pytest.skip('Test is intended for the HTTP protocol only.')
127 pytest.skip('Test is intended for the HTTP protocol only.')
128
128
129 pull_request = pr_util.create_pull_request()
129 pull_request = pr_util.create_pull_request()
@@ -163,7 +163,7 b' class TestMercurialRemoteRepoInvalidatio'
163 Without correct cache invalidation this leads to an error when
163 Without correct cache invalidation this leads to an error when
164 retrieving the pulled commits afterwards.
164 retrieving the pulled commits afterwards.
165 """
165 """
166 if pylonsapp.config['vcs.server.protocol'] != 'http':
166 if pylonsapp.config['vcs.server.protocol'] == 'pyro4':
167 pytest.skip('Test is intended for the HTTP protocol only.')
167 pytest.skip('Test is intended for the HTTP protocol only.')
168
168
169 pull_request = pr_util.create_pull_request()
169 pull_request = pr_util.create_pull_request()
General Comments 0
You need to be logged in to leave comments. Login now