mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 15:12:20 +00:00 
			
		
		
		
	Temporary disable functional tests with fish in travis-ci
https://github.com/travis-ci/apt-source-whitelist/issues/71
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| import pytest | import pytest | ||||||
| from tests.functional.plots import with_confirmation, without_confirmation, \ | from tests.functional.plots import with_confirmation, without_confirmation, \ | ||||||
|     refuse_with_confirmation |     refuse_with_confirmation | ||||||
| from tests.functional.utils import spawn, functional, images | from tests.functional.utils import spawn, functional, images, bare | ||||||
|  |  | ||||||
| containers = images(('ubuntu-python3-fish', u''' | containers = images(('ubuntu-python3-fish', u''' | ||||||
| FROM ubuntu:latest | FROM ubuntu:latest | ||||||
| @@ -19,6 +19,8 @@ RUN pip2 install -U pip setuptools | |||||||
|  |  | ||||||
|  |  | ||||||
| @functional | @functional | ||||||
|  | @pytest.mark.skipif( | ||||||
|  |     bare, 'https://github.com/travis-ci/apt-source-whitelist/issues/71') | ||||||
| @pytest.mark.parametrize('tag, dockerfile', containers) | @pytest.mark.parametrize('tag, dockerfile', containers) | ||||||
| def test_with_confirmation(tag, dockerfile): | def test_with_confirmation(tag, dockerfile): | ||||||
|     with spawn(tag, dockerfile, u'fish') as proc: |     with spawn(tag, dockerfile, u'fish') as proc: | ||||||
| @@ -28,6 +30,8 @@ def test_with_confirmation(tag, dockerfile): | |||||||
|  |  | ||||||
|  |  | ||||||
| @functional | @functional | ||||||
|  | @pytest.mark.skipif( | ||||||
|  |     bare, 'https://github.com/travis-ci/apt-source-whitelist/issues/71') | ||||||
| @pytest.mark.parametrize('tag, dockerfile', containers) | @pytest.mark.parametrize('tag, dockerfile', containers) | ||||||
| def test_refuse_with_confirmation(tag, dockerfile): | def test_refuse_with_confirmation(tag, dockerfile): | ||||||
|     with spawn(tag, dockerfile, u'fish') as proc: |     with spawn(tag, dockerfile, u'fish') as proc: | ||||||
| @@ -37,6 +41,8 @@ def test_refuse_with_confirmation(tag, dockerfile): | |||||||
|  |  | ||||||
|  |  | ||||||
| @functional | @functional | ||||||
|  | @pytest.mark.skipif( | ||||||
|  |     bare, 'https://github.com/travis-ci/apt-source-whitelist/issues/71') | ||||||
| @pytest.mark.parametrize('tag, dockerfile', containers) | @pytest.mark.parametrize('tag, dockerfile', containers) | ||||||
| def test_without_confirmation(tag, dockerfile): | def test_without_confirmation(tag, dockerfile): | ||||||
|     with spawn(tag, dockerfile, u'fish') as proc: |     with spawn(tag, dockerfile, u'fish') as proc: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user