Skip to content

Commit 1a0b164

Browse files
authored
Merge pull request #5833 from opsmill/pog-align-testcontainer-version
Align testcontainers version to main project
2 parents f680afc + b11b48b commit 1a0b164

File tree

9 files changed

+14
-12
lines changed

9 files changed

+14
-12
lines changed

backend/tests/unit/graphql/test_core_account.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ async def test_everyone_can_update_password(db: InfrahubDatabase, default_branch
3939
)
4040

4141
assert result.errors is None
42+
assert result.data
4243
assert result.data["InfrahubAccountSelfUpdate"]["ok"] is True
4344

4445
updated_account = await NodeManager.get_one(db=db, id=first_account.id, branch=default_branch)
@@ -80,6 +81,7 @@ async def test_permissions(
8081
)
8182

8283
assert result.errors is None
84+
assert result.data
8385
perms = [edge["node"]["identifier"] for edge in result.data["InfrahubPermissions"]["global_permissions"]["edges"]]
8486
assert perms == [
8587
str(GlobalPermission(action=GlobalPermissions.SUPER_ADMIN.value, decision=PermissionDecision.ALLOW_ALL.value))
@@ -106,4 +108,5 @@ async def test_permissions(
106108
)
107109

108110
assert result.errors is None
111+
assert result.data
109112
assert not result.data["InfrahubPermissions"]["global_permissions"]["edges"]

docs/docs/infrahubctl/infrahubctl-dump.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $ infrahubctl dump [OPTIONS]
1414
* `--directory PATH`: Directory path to store export [default: (dynamic)]
1515
* `--quiet / --no-quiet`: No console output [default: no-quiet]
1616
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
17-
* `--branch TEXT`: Branch from which to export [default: main]
17+
* `--branch TEXT`: Branch from which to export
1818
* `--concurrent INTEGER`: Maximum number of requests to execute at the same time. [env var: INFRAHUB_MAX_CONCURRENT_EXECUTION; default: 4]
1919
* `--timeout INTEGER`: Timeout in sec [env var: INFRAHUB_TIMEOUT; default: 60]
2020
* `--exclude TEXT`: Prevent node kind(s) from being exported, CoreAccount is excluded by default [default: CoreAccount]

docs/docs/infrahubctl/infrahubctl-load.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $ infrahubctl load [OPTIONS]
1414
* `--continue-on-error / --no-continue-on-error`: Allow exceptions during loading and display them when complete [default: no-continue-on-error]
1515
* `--quiet / --no-quiet`: No console output [default: no-quiet]
1616
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
17-
* `--branch TEXT`: Branch from which to export [default: main]
17+
* `--branch TEXT`: Branch from which to export
1818
* `--concurrent INTEGER`: Maximum number of requests to execute at the same time. [env var: INFRAHUB_MAX_CONCURRENT_EXECUTION]
1919
* `--timeout INTEGER`: Timeout in sec [env var: INFRAHUB_TIMEOUT; default: 60]
2020
* `--install-completion`: Install completion for the current shell.

docs/docs/infrahubctl/infrahubctl-menu.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ $ infrahubctl menu load [OPTIONS] MENUS...
3535
**Options**:
3636

3737
* `--debug / --no-debug`: [default: no-debug]
38-
* `--branch TEXT`: Branch on which to load the menu. [default: main]
38+
* `--branch TEXT`: Branch on which to load the menu.
3939
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
4040
* `--help`: Show this message and exit.

docs/docs/infrahubctl/infrahubctl-object.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ $ infrahubctl object load [OPTIONS] PATHS...
3535
**Options**:
3636

3737
* `--debug / --no-debug`: [default: no-debug]
38-
* `--branch TEXT`: Branch on which to load the objects. [default: main]
38+
* `--branch TEXT`: Branch on which to load the objects.
3939
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
4040
* `--help`: Show this message and exit.

docs/docs/infrahubctl/infrahubctl-repository.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,9 @@ $ infrahubctl repository add [OPTIONS] NAME LOCATION
4141
* `--description TEXT`
4242
* `--username TEXT`
4343
* `--password TEXT`
44-
* `--commit TEXT`
44+
* `--ref TEXT`
4545
* `--read-only / --no-read-only`: [default: no-read-only]
4646
* `--debug / --no-debug`: [default: no-debug]
47-
* `--branch TEXT`: Branch on which to add the repository. [default: main]
4847
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
4948
* `--help`: Show this message and exit.
5049

@@ -58,7 +57,7 @@ $ infrahubctl repository list [OPTIONS]
5857

5958
**Options**:
6059

61-
* `--branch TEXT`
60+
* `--branch TEXT`: Branch on which to list repositories.
6261
* `--debug / --no-debug`: [default: no-debug]
6362
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
6463
* `--help`: Show this message and exit.

docs/docs/infrahubctl/infrahubctl-run.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ infrahubctl run [OPTIONS] SCRIPT [VARIABLES]...
1818
* `--method TEXT`: [default: run]
1919
* `--debug / --no-debug`: [default: no-debug]
2020
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
21-
* `--branch TEXT`: Branch on which to run the script. [default: main]
21+
* `--branch TEXT`: Branch on which to run the script.
2222
* `--concurrent INTEGER`: Maximum number of requests to execute at the same time. [env var: INFRAHUB_MAX_CONCURRENT_EXECUTION]
2323
* `--timeout INTEGER`: Timeout in sec [env var: INFRAHUB_TIMEOUT; default: 60]
2424
* `--install-completion`: Install completion for the current shell.

docs/docs/infrahubctl/infrahubctl-schema.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $ infrahubctl schema check [OPTIONS] SCHEMAS...
3636
**Options**:
3737

3838
* `--debug / --no-debug`: [default: no-debug]
39-
* `--branch TEXT`: Branch on which to check the schema. [default: main]
39+
* `--branch TEXT`: Branch on which to check the schema.
4040
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
4141
* `--help`: Show this message and exit.
4242

@@ -57,7 +57,7 @@ $ infrahubctl schema load [OPTIONS] SCHEMAS...
5757
**Options**:
5858

5959
* `--debug / --no-debug`: [default: no-debug]
60-
* `--branch TEXT`: Branch on which to load the schema. [default: main]
60+
* `--branch TEXT`: Branch on which to load the schema.
6161
* `--wait INTEGER`: Time in seconds to wait until the schema has converged across all workers [default: 0]
6262
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
6363
* `--help`: Show this message and exit.

python_testcontainers/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[project]
22
name = "infrahub-testcontainers"
3-
version = "1.2.0a0"
3+
version = "1.2.0rc0"
44
requires-python = ">=3.9"
55

66
[tool.poetry]
77
name = "infrahub-testcontainers"
8-
version = "1.2.0a0"
8+
version = "1.2.0rc0"
99
description = "Testcontainers instance for Infrahub to easily build integration tests"
1010
authors = ["OpsMill <[email protected]>"]
1111
readme = "README.md"

0 commit comments

Comments
 (0)