Skip to content

Commit

Permalink
fix small problems
Browse files Browse the repository at this point in the history
  • Loading branch information
rafsaf committed Oct 15, 2023
1 parent c7f38f1 commit 6896740
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: touch .env

- name: Download and start db containers
run: make docker_dbs_setup
run: make docker_dbs_setup_up

- name: Build image and run tests in container
run: make tests_${{ matrix.arch }}
12 changes: 6 additions & 6 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@
import secrets
from collections.abc import Generator
from pathlib import Path
from typing import Type, TypeVar

import pytest
import responses
from pydantic import SecretStr
from typing import TypeVar, Type

from backuper import config
from backuper.models.backup_target_models import (
DirectoryTargetModel,
MariaDBTargetModel,
MySQLTargetModel,
PostgreSQLTargetModel,
TargetModel,
SingleFileTargetModel,
)
from backuper.tools.compose_db_models import ComposeDatabase
from backuper.tools.compose_file_generator import (
db_compose_mysql_data,
db_compose_mariadb_data,
db_compose_postgresql_data,
DB_NAME,
DB_PWD,
DB_USERNAME,
db_compose_mariadb_data,
db_compose_mysql_data,
db_compose_postgresql_data,
)
from backuper.tools.compose_db_models import ComposeDatabase

TM = TypeVar("TM")

Expand Down
4 changes: 2 additions & 2 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
from backuper.upload_providers.debug import UploadProviderLocalDebug

from .conftest import (
FILE_1,
FOLDER_1,
ALL_MARIADB_DBS_TARGETS,
ALL_MYSQL_DBS_TARGETS,
ALL_POSTGRES_DBS_TARGETS,
FILE_1,
FOLDER_1,
)


Expand Down

0 comments on commit 6896740

Please sign in to comment.