mirror of
https://github.com/beetbox/beets.git
synced 2025-12-26 18:43:38 +01:00
parent
41fb0d9287
commit
18b57ea022
1 changed files with 1 additions and 0 deletions
|
|
@ -422,6 +422,7 @@ class TestHelper(object):
|
|||
# Running beets commands
|
||||
|
||||
def run_command(self, *args):
|
||||
sys.argv = ['beet'] # avoid leakage from test suite args
|
||||
if hasattr(self, 'lib'):
|
||||
lib = self.lib
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue