Skip to content

Commit

Permalink
Merge pull request #4385 from rtfd/humitos/config/test
Browse files Browse the repository at this point in the history
Adapt YAML config integration tests
  • Loading branch information
humitos authored Jul 17, 2018
2 parents ebf0987 + 1f8351b commit 9abfc04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readthedocs/rtd_tests/tests/test_config_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class LoadConfigTests(TestCase):

def setUp(self):
self.project = get(Project, main_language_project=None,
install_project=False, requirements_file='urls.py')
install_project=False, requirements_file='__init__.py')
self.version = get(Version, project=self.project)

def test_python_supported_versions_default_image_1_0(self, load_config):
Expand Down Expand Up @@ -201,4 +201,4 @@ def test_requirements_file(self, load_config):
# Respects the requirements file from the project settings
load_config.side_effect = create_load()
config = load_yaml_config(self.version)
self.assertEqual(config.requirements_file, 'urls.py')
self.assertEqual(config.requirements_file, '__init__.py')

0 comments on commit 9abfc04

Please sign in to comment.