diff options
Diffstat (limited to 'pkgs/development/python-modules/pytest-base-url/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pytest-base-url/default.nix | 39 |
1 files changed, 16 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/pytest-base-url/default.nix b/pkgs/development/python-modules/pytest-base-url/default.nix index 1d8a3cb6396aa..d7afa906d75b6 100644 --- a/pkgs/development/python-modules/pytest-base-url/default.nix +++ b/pkgs/development/python-modules/pytest-base-url/default.nix @@ -1,14 +1,15 @@ -{ lib -, fetchFromGitHub -, buildPythonPackage -, hatchling -, hatch-vcs -, pytest -, pytest-localserver -, pytest-metadata -, requests -, pytestCheckHook -, pythonOlder +{ + lib, + fetchFromGitHub, + buildPythonPackage, + hatchling, + hatch-vcs, + pytest, + pytest-localserver, + pytest-metadata, + requests, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { @@ -30,13 +31,9 @@ buildPythonPackage rec { hatch-vcs ]; - buildInputs = [ - pytest - ]; + buildInputs = [ pytest ]; - propagatedBuildInputs = [ - requests - ]; + propagatedBuildInputs = [ requests ]; __darwinAllowLocalNetworking = true; @@ -46,18 +43,14 @@ buildPythonPackage rec { pytest-metadata ]; - pytestFlagsArray = [ - "tests" - ]; + pytestFlagsArray = [ "tests" ]; disabledTests = [ # should be xfail? or mocking doesn't work "test_url_fails" ]; - pythonImportsCheck = [ - "pytest_base_url" - ]; + pythonImportsCheck = [ "pytest_base_url" ]; meta = with lib; { description = "pytest plugin for URL based tests"; |