Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt YAML config integration tests #4385

Merged
merged 1 commit into from
Jul 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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')