~camptocamp/instances-manager/trunk

« back to all changes in this revision

Viewing changes to py-trunk/example/funcarg/mysetup/conftest.py

  • Committer: Joël Grand-Guillaume
  • Date: 2010-03-22 14:47:16 UTC
  • Revision ID: joel.grandguillaume@camptocamp.com-20100322144716-bt8ij301fddvwgmb
[ADD] First commit to add our work on LP. Thanks to Gille Cherix for his work

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
from mysetup.myapp import MyApp
 
3
 
 
4
def pytest_funcarg__mysetup(request):
 
5
    return MySetup()
 
6
 
 
7
class MySetup:
 
8
    def myapp(self):
 
9
        return MyApp()