Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes for tests' cross-platformness by jonathan.buchanan

  • Loading branch information...
commit 0b0d7e0b67d59b3af5895b532df4418740a7884b 1 parent bff9f2e
@sampsyo sampsyo authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  test/test_autotag.py
  2. +1 −1  test/test_db.py
View
2  test/test_autotag.py
@@ -53,7 +53,7 @@ def _mkmp3(path):
class AlbumsInDirTest(unittest.TestCase):
def setUp(self):
# create a directory structure for testing
- self.base = os.path.join('rsrc', 'temp_albumsindir')
+ self.base = os.path.abspath(os.path.join('rsrc', 'temp_albumsindir'))
os.mkdir(self.base)
os.mkdir(os.path.join(self.base, 'album1'))
View
2  test/test_db.py
@@ -434,7 +434,7 @@ def setUp(self):
def test_art_filename_respects_setting(self):
art = self.ai.art_destination('something.jpg')
- self.assert_('/artimage.jpg' in art)
+ self.assert_('%sartimage.jpg' % os.path.sep in art)
def test_art_path_in_item_dir(self):
art = self.ai.art_destination('something.jpg')
Please sign in to comment.
Something went wrong with that request. Please try again.