Commit d222b746 authored by Sigmanificient's avatar Sigmanificient
Browse files

alerta: enable tests

parent 50b46755
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -24,7 +24,17 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
    tabulate
  ];

  doCheck = false;
  doCheck = true;

  pythonImportsCheck = [ "alertaclient" ];

  nativeCheckInputs = with python3.pkgs; [
    pytestCheckHook
    requests-mock
  ];

  # AlertTestCases attempt to connect to alerta api
  disabledTests = [ "AlertTestCase" ];

  meta = {
    homepage = "https://alerta.io";