예제 #1
0
    def setUp(self):
        self.statsy = statsy.Statsy(cache=False)

        for test_value in test_value_list:
            self.statsy.send(group=test_group,
                             event=test_event,
                             label=test_label,
                             value=test_value)
예제 #2
0
    def setUp(self):
        self.statsy = statsy.Statsy(cache=False)
        self.client = Client()

        get_user_model().objects.create_superuser(test_username,
                                                  '*****@*****.**',
                                                  test_password)

        self.client.login(username=test_username, password=test_password)

        for test_value in test_value_list:
            statsy.send(group=test_group,
                        event=test_event,
                        label=test_label,
                        value=test_value)
예제 #3
0
 def setUp(self):
     self.statsy = statsy.Statsy(cache=False)
     self.test_count = 10
예제 #4
0
 def setUp(self):
     self.statsy = statsy.Statsy(cache=False)
     self.client = Client()
예제 #5
0
 def setUp(self):
     self.statsy = statsy.Statsy(cache=False)