anchor.diff:            machine.succeed(
                 'cd ${pgadmin4SrcDir}/pgadmin4-${pkgs.pgadmin4.version}/web \
                  && export FONTCONFIG_FILE=${pkgs.makeFontsConf { fontDirectories = [];}} \
  -               && ${python-with-needed-packages.interpreter} regression/runtests.py --pkg feature_tests'
  +               && python regression/runtests.py --pkg feature_tests'
             )
   
         with subtest("run resql test"):
             machine.succeed(
                  'cd ${pgadmin4SrcDir}/pgadmin4-${pkgs.pgadmin4.version}/web \
  -               && ${python-with-needed-packages.interpreter} regression/runtests.py --pkg resql'
  +               && python regression/runtests.py --pkg resql'
             )
       '';
     })
  
positive.code:     pgadmin4Dir = "/var/lib/pgadmin";
      pgadmin4LogDir = "/var/log/pgadmin";
  
      python-with-needed-packages = pkgs.python3.withPackages (ps: with ps; [
        selenium
        testtools
        testscenarios
        flask
        flask-babelex
        flask-babel
        flask-gravatar
        flask_login
        flask_mail
        flask_migrate
        flask_sqlalchemy
        flask_wtf
        flask-compress
        passlib
        pytz
        simplejson
        six
        sqlparse
        wtforms
        flask-paranoid
        psutil
        psycopg2
        python-dateutil
        sqlalchemy
        itsdangerous
        flask-security-too
        bcrypt
        cryptography
        sshtunnel
        ldap3
        gssapi
        flask-socketio
        eventlet
        httpagentparser
        user-agents
        wheel
        authlib
        qrcode
        pillow
        pyotp
        boto3
      ]);
    in
    {
      name = "pgadmin4";
  
negative.code:       with subtest("run browser test"):
            machine.succeed(
                 'cd ${pgadmin4SrcDir}/pgadmin4-${pkgs.pgadmin4.version}/web \
                 && python regression/runtests.py --pkg browser --exclude \
                 browser.tests.test_ldap_login.LDAPLoginTestCase,browser.tests.test_ldap_login'
            )
  
  