Ejemplo n.º 1
0
class TestFoursquareDaemon(TestFoursquare):
    @defer.inlineCallbacks
    def setUp(self, *args, **kwargs):
        yield super(TestFoursquareDaemon, self).setUp(*args, **kwargs)
        self.service = FoursquareDaemon(datastore=self.app.db)

    def test_recurring_methods(self):
        self.assertEqual(
            self.service.recurring(),
            {"values_from_profile": "Values from profile", "profile": "Returns this user's profile."},
        )
Ejemplo n.º 2
0
 def setUp(self, *args, **kwargs):
     yield super(TestFoursquareDaemon, self).setUp(*args, **kwargs)
     self.service = FoursquareDaemon(datastore=self.app.db)