Skip to content

Commit

Permalink
#5 Addressed review issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed May 15, 2024
1 parent 7c3a3f8 commit 6b6f4da
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Checkout ITDE
run: git clone https://github.com/exasol/integration-test-docker-environment.git
working-directory: ..
# - name: Checkout ITDE
# run: git clone https://github.com/exasol/integration-test-docker-environment.git
# working-directory: ..

- name: Start EXASOL Test-Environment
run: ./start-test-env spawn-test-environment --environment-name test --database-port-forward 8888 --bucketfs-port-forward 6666 --db-mem-size 4GB
working-directory: ../integration-test-docker-environment
# - name: Start EXASOL Test-Environment
# run: ./start-test-env spawn-test-environment --environment-name test --database-port-forward 8888 --bucketfs-port-forward 6666 --db-mem-size 4GB
# working-directory: ../integration-test-docker-environment

- name: Calculate Test Coverage
run: poetry run nox -s coverage -- -- --db-version ${{ matrix.exasol-version }}
Expand Down
4 changes: 4 additions & 0 deletions test/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import pytest


pytest.register_assert_rewrite("test.utils.db_utils")
3 changes: 3 additions & 0 deletions test/integration/test_language_container_deployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def create_container_deployer(language_alias: str,


def test_language_container_deployer(
itde,
request: FixtureRequest,
connection_factory: Callable[[config.Exasol], ExaConnection],
exasol_config: config.Exasol,
Expand All @@ -54,6 +55,7 @@ def test_language_container_deployer(


def test_language_container_deployer_alter_session(
itde,
request: FixtureRequest,
connection_factory: Callable[[config.Exasol], ExaConnection],
exasol_config: config.Exasol,
Expand Down Expand Up @@ -84,6 +86,7 @@ def test_language_container_deployer_alter_session(


def test_language_container_deployer_activation_fail(
itde,
request: FixtureRequest,
connection_factory: Callable[[config.Exasol], ExaConnection],
exasol_config: config.Exasol,
Expand Down
5 changes: 4 additions & 1 deletion test/integration/test_language_container_deployer_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import Optional, Callable
from contextlib import ExitStack
from pathlib import Path

from urllib.parse import urlparse
from _pytest.fixtures import FixtureRequest
Expand Down Expand Up @@ -57,6 +56,7 @@ def call_language_definition_deployer_cli(func,


def test_language_container_deployer_cli_with_container_file(
itde,
request: FixtureRequest,
connection_factory: Callable[[config.Exasol], ExaConnection],
exasol_config: config.Exasol,
Expand Down Expand Up @@ -84,6 +84,7 @@ def test_language_container_deployer_cli_with_container_file(


def test_language_container_deployer_cli_by_downloading_container(
itde,
request: FixtureRequest,
connection_factory: Callable[[config.Exasol], ExaConnection],
exasol_config: config.Exasol,
Expand Down Expand Up @@ -111,6 +112,7 @@ def test_language_container_deployer_cli_by_downloading_container(


def test_language_container_deployer_cli_with_missing_container_option(
itde,
request: FixtureRequest,
connection_factory: Callable[[config.Exasol], ExaConnection],
exasol_config: config.Exasol,
Expand All @@ -131,6 +133,7 @@ def test_language_container_deployer_cli_with_missing_container_option(


def test_language_container_deployer_cli_with_check_cert(
itde,
request: FixtureRequest,
connection_factory: Callable[[config.Exasol], ExaConnection],
exasol_config: config.Exasol,
Expand Down

0 comments on commit 6b6f4da

Please sign in to comment.