aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2021-03-06 12:46:46 -0700
committerTim Harder <radhermit@gmail.com>2021-03-06 12:47:55 -0700
commit584809b324597ae7fc221306e3c83b4c1b6a8572 (patch)
tree86a4491f88de07200dc729a85ac8f4869fa7a218 /tests
parenttests: add argparse namespace fixture (diff)
downloadpkgdev-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.py2
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]))