Commit 00b1ba42 authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

python3Packages: transition from pytestFlagsArray (round 3)

parent d9833d82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
    python3.pkgs.pytestCheckHook
  ];

  pytestFlagsArray = [
  pytestFlags = [
    # Nixpkgs' default is `--capture=fd`, and with it, 2 command mock tests
    # fail, see: https://github.com/lucc/khard/issues/353
    "--capture=no"
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
    pytestCheckHook
  ];

  pytestFlagsArray = [
  enabledTestPaths = [
    "openfreebuds/driver/huawei/test/"
    "openfreebuds/test/test_event_bus.py"
  ];
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ python3Packages.buildPythonApplication (finalAttrs: {

  # Run subset of tests that don't require YubiKey hardware
  doCheck = true;
  pytestFlagsArray = [
  enabledTestPaths = [
    "tests"
  ];

+2 −3
Original line number Diff line number Diff line
@@ -41,10 +41,9 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "connect_box" ];

  pytestFlagsArray = [
  pytestFlags = [
    "--vcr-record=none"
    "-W"
    "ignore::DeprecationWarning"
    "-Wignore::DeprecationWarning"
  ];

  meta = {
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

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

Loading