예제 #1
0
 def setUp(self):
     # Setup tracking server mock
     clean_db_and_bootstrap()
     server.TrackingServer.__init__ = Mock(return_value=None)
     self.server = server.TrackingServer()
예제 #2
0
 def setUp(self):
     # Setup tracking server mock
     clean_db_and_bootstrap()
     server.TrackingServer.__init__ = Mock(return_value=None)
     self.server = server.TrackingServer()
예제 #3
0
파일: __init__.py 프로젝트: imclab/skylines
    def setUp(self):
        """Method called by nose before running each test"""
        clean_db_and_bootstrap()

        self.browser = Browser('http://localhost/', wsgi_app=app.wsgi_app)
예제 #4
0
파일: __init__.py 프로젝트: imclab/skylines
    def setUp(self):
        """Method called by nose before running each test"""
        clean_db_and_bootstrap()

        self.browser = Browser('http://localhost/', wsgi_app=app.wsgi_app)