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