def test_extra_bits(self):
     c = dict(system='sass')
     self.assertEqual(
             api._make_path('badges', **c),
             'systems/sass/badges')
 def test_system_path(self):
     c = dict(system='mysystem')
     self.assertEqual(api._make_path(**c), 'systems/mysystem')
 def test_issuer_path(self):
     c = dict(system='sys', issuer='iss')
     self.assertEqual(api._make_path(**c), 'systems/sys/issuers/iss')
 def test_query(self):
     self.assertEqual(
             api._make_path('badges', system='jkl', archived=True),
             'systems/jkl/badges?archived=true')