20 buildPythonPackage rec {
21 pname = "zope-testbrowser";
25 src = fetchFromGitHub {
26 owner = "zopefoundation";
27 repo = "zope.testbrowser";
29 hash = "sha256-vGx2ObHgt4hSQe/JKZkD2/GhdtbJEAfggkM209maen4=";
33 # remove test that requires network access
34 substituteInPlace src/zope/testbrowser/tests/test_doctests.py \
35 --replace-fail "suite.addTests(wire)" ""
38 build-system = [ setuptools ];
59 ${python.interpreter} -m zope.testrunner --test-path=src
62 pythonImportsCheck = [
64 "zope.testbrowser.browser"
65 "zope.testbrowser.interfaces"
66 "zope.testbrowser.testing"
67 "zope.testbrowser.wsgi"
71 changelog = "https://github.com/zopefoundation/zope.testbrowser/blob/${src.rev}/CHANGES.rst";
72 description = "Programmable browser for functional black-box tests";
73 homepage = "https://github.com/zopefoundation/zope.testbrowser";
74 license = lib.licenses.zpl21;
75 maintainers = with lib.maintainers; [ dotlambda ];