示例#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
文件: __init__.py 项目: alanoe/pulp
def teardown():
    """
    Drop the test database.
    """
    devel_base.drop_database()