Skip to content

Commit

Permalink
Revert "wip: add test to check if a Path can be used as directory
Browse files Browse the repository at this point in the history
… parameter"

Reverting the initial changes to check if the Travis build failures are
caused by the changes or by something else.
  • Loading branch information
nioncode committed Mar 11, 2020
1 parent a0c87ab commit cfe285e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 63 deletions.
41 changes: 0 additions & 41 deletions tests/app_custom_directory_path.py

This file was deleted.

10 changes: 0 additions & 10 deletions tests/test_migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,6 @@ def test_custom_directory(self):
(o, e, s) = run_cmd(sys.executable + ' app_custom_directory.py add')
self.assertTrue(s == 0)

def test_custom_directory_path(self):
(o, e, s) = run_cmd(sys.executable + ' app_custom_directory_path.py db init')
self.assertTrue(s == 0)
(o, e, s) = run_cmd(sys.executable + ' app_custom_directory_path.py db migrate')
self.assertTrue(s == 0)
(o, e, s) = run_cmd(sys.executable + ' app_custom_directory_path.py db upgrade')
self.assertTrue(s == 0)
(o, e, s) = run_cmd(sys.executable + ' app_custom_directory_path.py add')
self.assertTrue(s == 0)

def test_compare_type(self):
(o, e, s) = run_cmd(sys.executable + ' app_compare_type1.py db init')
self.assertTrue(s == 0)
Expand Down
12 changes: 0 additions & 12 deletions tests/test_migrate_flaskcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,6 @@ def test_custom_directory(self):
db.session.add(User(name='test'))
db.session.commit()

def test_custom_directory_path(self):
(o, e, s) = run_cmd('app_custom_directory_path.py', 'flask db init')
self.assertTrue(s == 0)
(o, e, s) = run_cmd('app_custom_directory_path.py', 'flask db migrate')
self.assertTrue(s == 0)
(o, e, s) = run_cmd('app_custom_directory_path.py', 'flask db upgrade')
self.assertTrue(s == 0)

from .app_custom_directory_path import db, User
db.session.add(User(name='test'))
db.session.commit()

def test_compare_type(self):
(o, e, s) = run_cmd('app_compare_type1.py', 'flask db init')
self.assertTrue(s == 0)
Expand Down

0 comments on commit cfe285e

Please sign in to comment.