Contact: fumanchu@aminus.org

Log in as guest/dejavu to create tickets

I think I've seen this ORM somewhere before...

root/trunk/test/test_storeshelve.py

Revision 164 (checked in by fumanchu, 7 years ago)

New testdb folder for test_storeshelve.py.

  • Property svn:eol-style set to native
Line 
1 """Test the shelve Storage Manager for dejavu.
2
3 Notice that, since StorageManagerShelve doesn't decompile any Expressions,
4 this will also test all native dejavu logic functions and any other aspects
5 of Expression(unit).
6 """
7
8 import os
9
10 opts = {u'Path': os.path.join(os.path.dirname(__file__), "testdb")}
11 SM_class = "dejavu.storage.storeshelve.StorageManagerShelve"
12
13 def run():
14     import zoo_fixture
15     # Isolate schema changes from one test to the next.
16     reload(zoo_fixture)
17     zoo_fixture.init()
18     zoo_fixture.run(SM_class, opts)
19
20
21 if __name__ == "__main__":
22     run()
Note: See TracBrowser for help on using the browser.