darthbhyrava added a comment.
Issues I had, and how I decided to resolve them: - //How do I name the Test class in panoramiopicker_tests?// I'm currently going with `class TestPanoramioMethods(TestCase):` - //What do I do about `__version__`?// Currently, I've just set it to `'$Id'`. - //How do I get the `photoinfo` param?// I called `getPhotos(photoset=u'public', start_id='0', end_id='5')` after looking at panoramio's test call <http://www.panoramio.com/api/data/api.html> - //How do I check if the return value is correct?// `self.assertEqual(photoinfo['license'], u'by-sa')` Please let me know if I was wrong in any of them? TASK DETAIL https://phabricator.wikimedia.org/T115428 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: darthbhyrava Cc: gerritbot, AbdealiJK, darthbhyrava, StudiesWorld, XZise, Aklapper, Avicennasis, pywikibot-bugs-list, jayvdb, Lewizho99 _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
