mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
isso: fix tests
Due to some dependency bump, isso ceased to build its tests for a deprecated API usage. A PR has been sent upstream, see in the diff and it is applied via substitution here.
This commit is contained in:
parent
ac1dd9de6c
commit
8272db154d
@ -23,6 +23,12 @@ buildPythonApplication rec {
|
||||
"doc"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Remove when https://github.com/posativ/isso/pull/973 is available.
|
||||
substituteInPlace isso/tests/test_comments.py \
|
||||
--replace "self.client.delete_cookie('localhost.local', '1')" "self.client.delete_cookie(key='1', domain='localhost')"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
itsdangerous
|
||||
jinja2
|
||||
|
Loading…
Reference in New Issue
Block a user