bytstringify path in _mediafile_fixture

This commit is contained in:
Johnny Robeson 2016-06-15 04:14:01 -04:00
parent 167544bcbe
commit 4e5ac89b2a

View file

@ -678,7 +678,7 @@ class ReadWriteTestBase(ArtTestMixin, GenreListTestMixin,
self.fail('\n '.join(errors))
def _mediafile_fixture(self, name):
name = name + '.' + self.extension
name = bytestring_path(name + '.' + self.extension)
src = os.path.join(_common.RSRC, name)
target = os.path.join(self.temp_dir, name)
shutil.copy(src, target)