Updated package data, pylint fix.

This commit is contained in:
Michael Lazar
2015-12-15 00:15:20 -08:00
parent 49e2d1aa4f
commit 52760e4000
3 changed files with 7 additions and 7 deletions

View File

@@ -17,10 +17,9 @@ def test_copy_default_config():
"Make sure the default config file was included in the package"
with NamedTemporaryFile(suffix='.cfg') as fp:
with mock.patch('rtv.config.input', return_value='y'):
with mock.patch('rtv.config.six.moves.input', return_value='y'):
copy_default_config(fp.name)
with open(DEFAULT_CONFIG) as fp_default:
assert fp.read() == fp_default.read()
assert fp.read()
permissions = os.stat(fp.name).st_mode & 0o777
assert permissions == 0o664