Browse Source

Merge pull request #98585 from wkral/backport-ihatemoney

[20.09] python3Packages.ihatemoney: disable sandbox unfriendly tests, fix passthru
wip-nanopi-m4v2
WORLDofPEACE 6 years ago
committed by GitHub
parent
commit
c8e389d512
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions
  1. +10
    -2
      pkgs/development/python-modules/ihatemoney/default.nix

+ 10
- 2
pkgs/development/python-modules/ihatemoney/default.nix View File

@@ -30,6 +30,7 @@
, wtforms
, psycopg2 # optional, for postgresql support
, flask_testing
, pytestCheckHook
}:

# ihatemoney is not really a library. It will only ever be imported
@@ -113,12 +114,19 @@ buildPythonPackage rec {
];

checkInputs = [
flask_testing
flask_testing pytestCheckHook
];

pytestFlagsArray = [ "--pyargs ihatemoney.tests.tests" ];
disabledTests = [
"test_notifications" # requires running service.
"test_invite" # requires running service.
];

passthru.tests = {
inherit (nixosTests) ihatemoney;
inherit (nixosTests.ihatemoney) ihatemoney-postgresql ihatemoney-sqlite;
};

meta = with lib; {
homepage = "https://ihatemoney.org";
description = "A simple shared budget manager web application";


Loading…
Cancel
Save