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