Beispiel #1
0
class Test_test1(unittest.TestCase):
    def setUp(self):
        self.mclient = MeetupClient(YOUR_API_KEY, paging=200)

    def test_findSingleGroupByName(self):
        self.assertEqual(self.mclient.findGroupByName("PyData_Warsaw")[0].name, "PyData Warsaw")

    def test_pagingEvents(self):
        self.assertGreater(len(self.mclient.findEventsByGroup("LondonOnBoard")), 200)
Beispiel #2
0
class Test_test1(unittest.TestCase):
    def setUp(self):
        self.mclient = MeetupClient(YOUR_API_KEY, paging=200)

    def test_findSingleGroupByName(self):
        self.assertEqual(
            self.mclient.findGroupByName("PyData_Warsaw")[0].name,
            "PyData Warsaw")

    def test_pagingEvents(self):
        self.assertGreater(
            len(self.mclient.findEventsByGroup("LondonOnBoard")), 200)
Beispiel #3
0
 def setUp(self):
     self.mclient = MeetupClient(YOUR_API_KEY, paging=200)
Beispiel #4
0
 def setUp(self):
     self.mclient = MeetupClient(YOUR_API_KEY, paging=200)