Beispiel #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)
Beispiel #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)
Beispiel #3
0
def teardown():
    """
    Drop the test database.
    """
    devel_base.drop_database()
Beispiel #4
0
def teardown():
    """
    Drop the test database.
    """
    devel_base.drop_database()