예제 #1
0
 def test_pagure_avatar(self):
     expected = (
         "https://seccdn.libravatar.org/avatar/"
         "9c9f7784935381befc302fe3c814f9136e7a3"
         "3953d0318761669b8643f4df55c"
     )
     actual = PagureService._avatar("ralph")
     self.assertEqual(actual.split("?")[0], expected)
예제 #2
0
파일: test.py 프로젝트: mkosiarc/review-rot
 def test_pagure_avatar(self):
     expected = ('https://seccdn.libravatar.org/avatar/'
                 '9c9f7784935381befc302fe3c814f9136e7a3'
                 '3953d0318761669b8643f4df55c')
     actual = PagureService._avatar('ralph')
     self.assertEqual(actual.split('?')[0], expected)