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_storeproxy.py

Revision 100 (checked in by fumanchu, 8 years ago)

More test suite work. If a store is not installed or cannot be imported, a warning will be raised and the tests will not be run.

  • Property svn:eol-style set to native
Line 
1 import os
2 import zoo_fixture
3
4 zoo_fixture.init()
5 shelvedb = "dejavu.storage.storeshelve.StorageManagerShelve"
6 proxiedopts = {u'Path': os.path.join(os.getcwd(), os.path.dirname(__file__))}
7 zoo_fixture.arena.add_store('shelvedb', shelvedb, proxiedopts)
8
9 opts = {'Next Store': 'shelvedb',
10         'Lifetime': '10 minutes',
11         }
12 SM_class = "dejavu.storage.ProxyStorage"
13
14
15 def run():
16     zoo_fixture.run(SM_class, opts)
17
18
19 if __name__ == "__main__":
20     run()
Note: See TracBrowser for help on using the browser.