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