Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Tested all method
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Häusler committed Sep 26, 2014
1 parent 0b599f7 commit abfb84e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arangodb/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,16 @@ class TestModel(CollectionModel):

TestModel.init()

model1 = TestModel()
model1.save()

model2 = TestModel()
model2.save()

all_models = TestModel.objects.all()

self.assertEqual(len(all_models), 2)

TestModel.destroy()


Expand Down

0 comments on commit abfb84e

Please sign in to comment.