Commit c7caf3fa authored by Robert Schütz's avatar Robert Schütz
Browse files

mealie: run tests

parent 9318bf78
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -52,7 +52,6 @@ pythonpkgs.buildPythonApplication rec {

  dontWrapPythonPrograms = true;

  doCheck = false;
  pythonRelaxDeps = true;

  dependencies = with pythonpkgs; [
@@ -132,6 +131,16 @@ pythonpkgs.buildPythonApplication rec {

  nativeCheckInputs = with pythonpkgs; [ pytestCheckHook ];

  disabledTestPaths = [
    # KeyError: 'alembic_version'
    "tests/unit_tests/services_tests/backup_v2_tests/test_backup_v2.py"
    "tests/unit_tests/services_tests/backup_v2_tests/test_alchemy_exporter.py"
    # sqlite3.OperationalError: no such table
    "tests/unit_tests/services_tests/scheduler/tasks/test_create_timeline_events.py"
    "tests/unit_tests/test_ingredient_parser.py"
    "tests/unit_tests/test_security.py"
  ];

  passthru.tests = {
    inherit (nixosTests) mealie;
  };