def test_get_id_from_href_with_uuid(self):
     fixture = 'abc123'
     actual = common.get_id_from_href(fixture)
     expected = 'abc123'
     self.assertEqual(actual, expected)
 def test_get_id_from_href_with_int_url_query(self):
     fixture = 'http://www.testsite.com/dir/45?asdf=jkl'
     actual = common.get_id_from_href(fixture)
     expected = '45'
     self.assertEqual(actual, expected)
 def test_get_id_from_href_with_uuid_url_query(self):
     fixture = 'http://www.testsite.com/dir/abc123?asdf=jkl'
     actual = common.get_id_from_href(fixture)
     expected = "abc123"
     self.assertEqual(actual, expected)
 def test_get_id_from_href_with_int(self):
     fixture = '45'
     actual = common.get_id_from_href(fixture)
     expected = '45'
     self.assertEqual(actual, expected)