relational/test/rename_insert1.py
Salvo 'LtWorf' Tomaselli 5073567757 Change how python tests are executed
Require them to have assert rather than testing the
result variables set.

This makes for way simpler code.

Now also prints stacktrace to know where the problem occurred.
2015-11-18 12:05:56 +01:00

5 lines
107 B
Python

p1=people.rename({"id":"ido"})
people.insert((123,"lala",0,31))
assert people!=p1
people.delete("id==123")