Skip to content

Commit

Permalink
#5 Added language_container_deployer_cli integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed May 15, 2024
1 parent 012b240 commit 43c74a4
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
10 changes: 10 additions & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
# 📝 Changes

* [unreleased](unreleased.md)
* [0.1.0](changes_0.1.0.md)

```{toctree}
---
hidden:
---
unreleased
changes_0.1.0
9 changes: 9 additions & 0 deletions doc/changes/changes_0.1.0.md
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
# Python Extension Common 0.1.0, released T.B.D.

## Summary

Initial commit.

## Changes
* Added LanguageContainerDeployer class
* Added language_container_deployer_main - the SLC deployment CLI.
* Added unit test for the SLC deployer and its cli.
5 changes: 5 additions & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Unreleased

## Added
- Integration tests for the LanguageContainerDeployer class
and the cli function - language_container_deployer_main.
4 changes: 2 additions & 2 deletions test/integration/test_language_container_deployer_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_language_container_deployer_cli_with_missing_container_option(
bucketfs_config=bucketfs_config,
exasol_config=exasol_config)
assert result.exit_code == 1
assert result.exception is ValueError
assert isinstance(result.exception, ValueError)


def test_language_container_deployer_cli_with_check_cert(
Expand All @@ -154,4 +154,4 @@ def test_language_container_deployer_cli_with_check_cert(
use_ssl_cert_validation=True)
assert result.exit_code == 1
assert expected_exception_message in result.exception.args[0].message
assert result.exception is ExaConnectionFailedError
assert isinstance(result.exception, ExaConnectionFailedError)

0 comments on commit 43c74a4

Please sign in to comment.