Commit 8272db15 authored by Raito Bezarius's avatar Raito Bezarius
Browse files

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.
parent ac1dd9de
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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