예제 #1
0
파일: test_mb.py 프로젝트: bheadwhite/beets
 def test_parse_id_url_finds_id(self):
     id_string = "28e32c71-1450-463e-92bf-e0a46446fc11"
     id_url = "http://musicbrainz.org/entity/%s" % id_string
     out = mb._parse_id(id_url)
     self.assertEqual(out, id_string)
예제 #2
0
파일: test_mb.py 프로젝트: bheadwhite/beets
 def test_parse_id_non_id_returns_none(self):
     id_string = "blah blah"
     out = mb._parse_id(id_string)
     self.assertEqual(out, None)
예제 #3
0
파일: test_mb.py 프로젝트: bheadwhite/beets
 def test_parse_id_correct(self):
     id_string = "28e32c71-1450-463e-92bf-e0a46446fc11"
     out = mb._parse_id(id_string)
     self.assertEqual(out, id_string)
예제 #4
0
파일: test_mb.py 프로젝트: sumpfralle/beets
 def test_parse_id_url_finds_id(self):
     id_string = "28e32c71-1450-463e-92bf-e0a46446fc11"
     id_url = "http://musicbrainz.org/entity/%s" % id_string
     out = mb._parse_id(id_url)
     self.assertEqual(out, id_string)
예제 #5
0
파일: test_mb.py 프로젝트: sumpfralle/beets
 def test_parse_id_non_id_returns_none(self):
     id_string = "blah blah"
     out = mb._parse_id(id_string)
     self.assertEqual(out, None)
예제 #6
0
파일: test_mb.py 프로젝트: sumpfralle/beets
 def test_parse_id_correct(self):
     id_string = "28e32c71-1450-463e-92bf-e0a46446fc11"
     out = mb._parse_id(id_string)
     self.assertEqual(out, id_string)