Package omero :: Package gateway :: Module pytest_fixtures
[hide private]
[frames] | no frames]

Module pytest_fixtures

source code

conftest.py - py.test fixtures for gatewaytest

Copyright 2013 Glencoe Software, Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt

Classes [hide private]
  GatewayWrapper
Functions [hide private]
 
gatewaywrapper(request)
Returns a test helper gateway object.
source code
 
author_testimg_generated(request, gatewaywrapper)
logs in as Author and returns the test image, creating it first if needed.
source code
 
author_testimg_tiny(request, gatewaywrapper)
logs in as Author and returns the test image, creating it first if needed.
source code
 
author_testimg_tiny2(request, gatewaywrapper)
logs in as Author and returns the test image, creating it first if needed.
source code
 
author_testimg(request, gatewaywrapper)
logs in as Author and returns the test image, creating it first if needed.
source code
 
author_testimg_bad(request, gatewaywrapper)
logs in as Author and returns the test image, creating it first if needed.
source code
 
author_testimg_big(request, gatewaywrapper)
logs in as Author and returns the test image, creating it first if needed.
source code

Imports: omero, rstring, pytest


Function Details [hide private]

gatewaywrapper(request)

source code 

Returns a test helper gateway object.

Decorators:
  • @pytest.fixture(scope= 'class')

author_testimg_generated(request, gatewaywrapper)

source code 

logs in as Author and returns the test image, creating it first if needed.

Decorators:
  • @pytest.fixture(scope= 'function')

author_testimg_tiny(request, gatewaywrapper)

source code 

logs in as Author and returns the test image, creating it first if needed.

Decorators:
  • @pytest.fixture(scope= 'function')

author_testimg_tiny2(request, gatewaywrapper)

source code 

logs in as Author and returns the test image, creating it first if needed.

Decorators:
  • @pytest.fixture(scope= 'function')

author_testimg(request, gatewaywrapper)

source code 

logs in as Author and returns the test image, creating it first if needed.

Decorators:
  • @pytest.fixture(scope= 'function')

author_testimg_bad(request, gatewaywrapper)

source code 

logs in as Author and returns the test image, creating it first if needed.

Decorators:
  • @pytest.fixture(scope= 'function')

author_testimg_big(request, gatewaywrapper)

source code 

logs in as Author and returns the test image, creating it first if needed.

Decorators:
  • @pytest.fixture(scope= 'function')