summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sanic-testing/tests.nix
blob: 43a65d3e3f77b2b024e80a1e32eebc0994720213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  buildPythonPackage,
  pytest-asyncio,
  pytestCheckHook,
  sanic-testing,
  setuptools,
}:

buildPythonPackage {
  pname = "sanic-testing-tests";
  inherit (sanic-testing) version;

  src = sanic-testing.testsout;
  pyproject = false;

  dontBuild = true;
  dontInstall = true;

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
    sanic-testing
    setuptools
  ];

  pythonImportsCheck = [ "sanic_testing" ];
}