示例#1
0
 def setUp(self):
     self.user = generate_user('fred')
     Location.force_initialize()
     self.experiment = generate_experiment(users=[self.user])
     self.dataset = generate_dataset(experiments=[self.experiment])
     self.server = SimpleHttpTestServer()
     self.server.start()
示例#2
0
 def setUp(self):
     self.dummy_user = generate_user('joe')
     self.server = SimpleHttpTestServer()
     self.server.start()
     Location.force_initialize()