#NEWLINE# @ task #NEWLINE# def test( path = None , coverage = False , watch = False , warn = False ) : #NEWLINE# #INDENT# if watch : #NEWLINE# #INDENT# return watcher ( test , path = path , coverage = coverage ) #NEWLINE# #UNINDENT# path = ( path or 'tests/' ) #NEWLINE# cmd = 'py.test' #NEWLINE# if coverage : #NEWLINE# #INDENT# cmd += ' --cov=mopidy --cov-report=term-missing' #NEWLINE# #UNINDENT# cmd += ( ' %s' % path ) #NEWLINE# run ( cmd , pty = True , warn = warn )