Rename directory

This commit is contained in:
Andreas Zweili 2024-04-19 18:52:50 +02:00
parent c204ac6ea3
commit ea4750a023
6 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import pytest
import src.main as snapbin
import snapbin.main as snapbin
@pytest.fixture()

View File

@ -29,7 +29,7 @@
tests = pkgs.writeShellScriptBin "python-test" ''
trap "process-compose down &> /dev/null" EXIT
process-compose up --tui=false &
pytest --cov=src tests.py
pytest --cov=snapbin tests.py
'';
in
{
@ -57,7 +57,7 @@
processes = {
webserver = {
process-compose.depends_on.redis.condition = "process_started";
exec = "gunicorn src.main:app";
exec = "gunicorn snapbin.main:app";
};
};
services.redis.enable = true;

View File

@ -8,7 +8,7 @@ from freezegun import freeze_time
from werkzeug.exceptions import BadRequest
# noinspection PyPep8Naming
import src.main as snapbin
import snapbin.main as snapbin
def test_get_password():