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)
    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)
Example #3
0
 def setUp(self):
     self.statsy = statsy.Statsy(cache=False)
     self.test_count = 10
Example #4
0
 def setUp(self):
     self.statsy = statsy.Statsy(cache=False)
     self.client = Client()
Example #5
0
 def setUp(self):
     self.statsy = statsy.Statsy(cache=False)