nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildPythonPackage,
3 python-octaviaclient,
4 python-openstackclient,
5 hacking,
6 requests-mock,
7 doc8,
8 docutils,
9 pygments,
10 subunit,
11 oslotest,
12 stestr,
13 testscenarios,
14}:
15
16buildPythonPackage {
17 pname = "python-octaviaclient-tests";
18 inherit (python-octaviaclient) version src;
19 pyproject = false;
20
21 dontBuild = true;
22 dontInstall = true;
23
24 nativeCheckInputs = [
25 python-octaviaclient
26 python-openstackclient
27 hacking
28 requests-mock
29 doc8
30 docutils
31 pygments
32 subunit
33 oslotest
34 stestr
35 testscenarios
36 ];
37
38 checkPhase = ''
39 runHook preCheck
40
41 stestr run
42
43 runHook postCheck
44 '';
45}