Пример #1
0
 def test_get_author_not_present(self):
     pull = {'user':{'login': '******'}}
     self.assertEquals(None, get_author(pull, self.players))
Пример #2
0
 def test_get_author(self):
     pull = {'user':{'login': '******'}}
     self.assertEquals(self.players[0], get_author(pull, self.players))