Пример #1
0
    def test_drop_database(self, _DATABASE, _CONNECTION):
        """
        Assert that the function drops the database.
        """
        base.drop_database()

        _CONNECTION.drop_database.assert_called_once_with(_DATABASE.name)
Пример #2
0
    def test_drop_database(self, _DATABASE, _CONNECTION):
        """
        Assert that the function drops the database.
        """
        base.drop_database()

        _CONNECTION.drop_database.assert_called_once_with(_DATABASE.name)
Пример #3
0
def teardown():
    """
    Drop the test database.
    """
    devel_base.drop_database()
Пример #4
0
def teardown():
    """
    Drop the test database.
    """
    devel_base.drop_database()