def test_get_path(self): Resource._name = 'blah' resource = Resource() self.assertEqual(resource._get_path('sid'), 'blah/sid')