Skip to content
Snippets Groups Projects
Commit fab42131 authored by florian's avatar florian
Browse files

TST: Remove duplicate test

Already tested intest_error_stuff.py::test_ambiguous_retrieval
parent 9e055a93
Branches
Tags
No related merge requests found
......@@ -212,35 +212,6 @@ def test_ticket_100():
pass
def test_ticket_96():
try:
rt1 = db.RecordType(name="a_b")
rt2 = db.RecordType(name="a_b")
rt1.insert()
rt2.insert(unique=False)
c = db.Container().append(
db.RecordType(name="a_b")).retrieve(unique=False)
assert_equal(len(c), 2)
try:
c = db.Container().append(
db.RecordType(name="a_b")).retrieve(unique=True)
assert_true(False)
except AmbiguityException as e:
print(repr(e))
finally:
try:
rt2.delete()
except BaseException:
pass
try:
rt1.delete()
except BaseException:
pass
def test_ticket_114():
try:
db.execute_query("FIND rt_nice").delete()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment