Permalink
Browse files

Remove test cases since create_app will not be called.

  • Loading branch information...
1 parent f6b2020 commit 2c242b2a14289dcbaab9ee51beb714e3ade93264 @lepture lepture committed Dec 20, 2013
Showing with 0 additions and 19 deletions.
  1. +0 −19 tests.py
View
@@ -413,25 +413,6 @@ def create_app(config_name='Empty'):
assert 'Development' in out
assert 'OK' in out
- code = run('manage.py -c Before simple', lambda: manager.run())
- out, err = capsys.readouterr()
- assert code == 0
- assert 'Before' in out
- assert 'OK' in out
-
- code = run('manage.py simple -c After', lambda: manager.run())
- out, err = capsys.readouterr()
- assert code == 0
- assert 'After' in out
- assert 'OK' in out
-
- code = run('manage.py -c DoNotShow simple -c NewValue', lambda: manager.run())
- out, err = capsys.readouterr()
- assert code == 0
- assert 'DoNotShow' not in out # first parameter is ignored
- assert 'NewValue' in out # second on is printed
- assert 'OK' in out
-
def test_get_usage(self):
manager = Manager(self.app)

0 comments on commit 2c242b2

Please sign in to comment.