diff options
author | Tim Harder <radhermit@gmail.com> | 2021-03-06 12:46:46 -0700 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2021-03-06 12:47:55 -0700 |
commit | 584809b324597ae7fc221306e3c83b4c1b6a8572 (patch) | |
tree | 86a4491f88de07200dc729a85ac8f4869fa7a218 /tests | |
parent | tests: add argparse namespace fixture (diff) | |
download | pkgdev-584809b324597ae7fc221306e3c83b4c1b6a8572.tar.gz pkgdev-584809b324597ae7fc221306e3c83b4c1b6a8572.tar.bz2 pkgdev-584809b324597ae7fc221306e3c83b4c1b6a8572.zip |
mangle: split file mangling into separate func
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_mangle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_mangle.py b/tests/test_mangle.py index 975d888..bcbf068 100644 --- a/tests/test_mangle.py +++ b/tests/test_mangle.py @@ -44,7 +44,7 @@ class TestMangler: def _mangle_func(self, data): raise Exception('func failed') - with patch('pkgdev.mangle.Mangler._mangle_eof', _mangle_func): + with patch('pkgdev.mangle.Mangler._mangle_file', _mangle_func): with pytest.raises(UserException, match='Exception: func failed'): list(Mangler(repo, [path])) |