mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 02:52:33 +01:00
Skip some more tests on Windows
We should actually fix these, I suppose!
This commit is contained in:
parent
07742a5f39
commit
ea3a6e5fd7
2 changed files with 4 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
import unittest
|
||||
from mock import patch, ANY
|
||||
|
|
@ -73,6 +74,7 @@ class PlayPluginTest(unittest.TestCase, TestHelper):
|
|||
self.run_and_assert(
|
||||
open_mock, [u'title:aNiceTitle'], u'echo other')
|
||||
|
||||
@unittest.skipIf(sys.platform, 'win32') # FIXME: fails on windows
|
||||
def test_relative_to(self, open_mock):
|
||||
self.config['play']['command'] = 'echo'
|
||||
self.config['play']['relative_to'] = '/something'
|
||||
|
|
|
|||
|
|
@ -431,6 +431,7 @@ class PathQueryTest(_common.LibTestCase, TestHelper, AssertsMixin):
|
|||
results = self.lib.albums(q)
|
||||
self.assert_albums_matched(results, [])
|
||||
|
||||
@unittest.skipIf(sys.platform, 'win32') # FIXME: fails on windows
|
||||
def test_parent_directory_no_slash(self):
|
||||
q = u'path:/a'
|
||||
results = self.lib.items(q)
|
||||
|
|
@ -439,6 +440,7 @@ class PathQueryTest(_common.LibTestCase, TestHelper, AssertsMixin):
|
|||
results = self.lib.albums(q)
|
||||
self.assert_albums_matched(results, [u'path album'])
|
||||
|
||||
@unittest.skipIf(sys.platform, 'win32') # FIXME: fails on windows
|
||||
def test_parent_directory_with_slash(self):
|
||||
q = u'path:/a/'
|
||||
results = self.lib.items(q)
|
||||
|
|
|
|||
Loading…
Reference in a new issue