Changeset 23b5569 in OpenWorkouts-current for ow


Ignore:
Timestamp:
Feb 15, 2019, 6:30:56 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
7dc1f81
Parents:
d5429c5
Message:

Fixed names of the test classes covering the migrations
(tests were not running due to old unittest-style class names)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/tests/test_migrate.py

    rd5429c5 r23b5569  
    88
    99
    10 class MigrateUnitTests(object):
     10class TestMigrateUnit(object):
    1111    def test_includeme(self):
    1212        config = Mock()
     
    8181
    8282
    83 class MigrateTests(object):
     83class TestsMigrate(object):
    8484
    8585    package_name = 'ow.tests.migrations'
     
    165165        gc.return_value = mocked_get_connection(versions=0)
    166166        migrate.run_migrations(None, {}, self.package_name)
     167        cleanup()
    167168        assert pr1.called
    168169        assert pr2.called
Note: See TracChangeset for help on using the changeset viewer.