Unverified Commit eff6dd67 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

treewide: migrate from pytestFlagsArray to enabledTestPaths (the trivial ones) (#403112)

parents de435754 794f904b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ python3Packages.buildPythonApplication rec {
    pytest-mock
  ];

  pytestFlagsArray = [ "tests/" ];
  enabledTestPaths = [ "tests/" ];

  meta = {
    description = "Mopidy extension for playing music from Tidal";
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ python3.pkgs.buildPythonApplication rec {
    umockdev
  ];

  pytestFlagsArray = [
  enabledTestPaths = [
    "test"
  ];

+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ python3.pkgs.buildPythonApplication rec {
    pycryptodomex
  ];

  pytestFlagsArray = [ "tests" ];
  enabledTestPaths = [ "tests" ];

  postCheck = ''
    $out/bin/electrum help >/dev/null
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ python3.pkgs.buildPythonApplication {
  ];
  buildInputs = lib.optional stdenv.hostPlatform.isLinux qtwayland;

  pytestFlagsArray = [ "electrum_ltc/tests" ];
  enabledTestPaths = [ "electrum_ltc/tests" ];

  disabledTests = [
    "test_loop" # test tries to bind 127.0.0.1 causing permission error
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ buildPythonApplication rec {
  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];
  pytestFlagsArray = [ "test/test.py" ];
  enabledTestPaths = [ "test/test.py" ];

  meta = {
    description = "Importer and exporter for MBTiles";
Loading