Trees | Indices | Help |
|
---|
|
1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 4 """ 5 conftest.py - py.test fixtures for gatewaytest 6 7 Copyright 2013 Glencoe Software, Inc. All rights reserved. 8 Use is subject to license terms supplied in LICENSE.txt 9 10 """ 11 import omero 12 from omero.rtypes import rstring 13 14 from omero.gateway.scripts.testdb_create import * 15 16 17 import pytest232925 ds = self.getTestDataset() 26 assert ds 27 testimg = self.createTestImage(dataset=ds) 28 return testimg33 """ 34 Returns a test helper gateway object. 35 """ 36 g = GatewayWrapper() 37 def fin (): 38 g.tearDown() 39 dbhelpers.cleanup()40 request.addfinalizer(fin) 41 return g 42 52 61 70 79 88 97
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 23 15:04:56 2014 | http://epydoc.sourceforge.net |