Skip to content

Commit

Permalink
Can't test develop with the current test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Dec 6, 2014
1 parent 0679ee5 commit b4dc531
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions tests/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,30 +409,6 @@ def test_patch(self):
del project
del(sys.modules["%s.settings" % config_data.project_name])

def test_patch_31(self):
config_data = config.parse(['--db=sqlite://localhost/test.db',
'--lang=en', '--cms=develop',
'--django-version=1.6',
'--timezone=Europe/Moscow',
'-f', '-q', '-u', '-zno', '--i18n=no',
'-p'+self.project_dir, 'example_path_patch_31'])
install.requirements(config_data.requirements)
django.create_project(config_data)
django.patch_settings(config_data)
django.copy_files(config_data)
settings = open(config_data.settings_path).read()
urlconf = open(config_data.urlconf_path).read()

# settings is importable even in non django environment
sys.path.append(config_data.project_directory)

project = __import__(config_data.project_name,
globals(), locals(), ['settings'])

## checking mptt / treebeard
self.assertFalse('mptt' in project.settings.INSTALLED_APPS)
self.assertTrue('treebeard' in project.settings.INSTALLED_APPS)

@unittest.skip("Currently unsupported test")
def test_database_setup_filer(self):
config_data = config.parse(['--db=sqlite://localhost/test.db',
Expand Down

0 comments on commit b4dc531

Please sign in to comment.