Beispiel #1
0
def test_exists_absent():
    result = DB.exists(PREFIX, __time())
    return assert_equals(result, False)
Beispiel #2
0
def test_exists_present():
    DB.create(PREFIX, 'present', 'ok')
    result = DB.exists(PREFIX, 'present')
    return assert_equals(result, True)