1{ 2 buildPythonPackage, 3 oslo-config, 4 oslotest, 5 stestr, 6}: 7 8buildPythonPackage { 9 pname = "oslotest-tests"; 10 inherit (oslotest) version src; 11 format = "other"; 12 13 postPatch = '' 14 # only a small portion of the listed packages are actually needed for running the tests 15 # so instead of removing them one by one remove everything 16 rm test-requirements.txt 17 ''; 18 19 dontBuild = true; 20 dontInstall = true; 21 22 nativeCheckInputs = [ 23 oslotest 24 oslo-config 25 stestr 26 ]; 27 28 checkPhase = '' 29 stestr run 30 ''; 31}