insightfactory-cli 1.0.0.dev4__tar.gz → 1.0.1.dev5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/PKG-INFO +1 -1
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/pyproject.toml +1 -1
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_cli.py +6 -1
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/uv.lock +1 -1
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.github/workflows/ci.yml +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.github/workflows/claude.yml +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.github/workflows/release.yml +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.gitignore +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.python-version +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/AGENTS.md +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/CLAUDE.md +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/README.md +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/__init__.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/__main__.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/cache.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/cli.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/colour.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/__init__.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/api.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/config.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/login.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/logout.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/profiles.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/set_token.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/token.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/config.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/constants.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/http.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/main.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/oauth.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/runtime.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/__init__.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/cache_writer.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/conftest.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/helpers.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/servers.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_api.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_api_command.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_cache.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_config.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_config_command.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_login.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_oauth.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_oauth_flow.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_profiles.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_programmatic_api.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_runtime.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_set_token.py +0 -0
- {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_token.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: insightfactory-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1.dev5
|
|
4
4
|
Summary: Profile-based authentication CLI for the InsightFactory Interfaces API
|
|
5
5
|
Project-URL: Homepage, https://github.com/insightfactory-ai/insightfactory-cli
|
|
6
6
|
Project-URL: Repository, https://github.com/insightfactory-ai/insightfactory-cli
|
|
@@ -2,6 +2,7 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
import json
|
|
4
4
|
import shutil
|
|
5
|
+
from importlib.metadata import version
|
|
5
6
|
from pathlib import Path
|
|
6
7
|
|
|
7
8
|
import pytest
|
|
@@ -112,7 +113,11 @@ def test_an_unknown_command_fails_with_the_command_reference():
|
|
|
112
113
|
def test_version_prints_the_package_version():
|
|
113
114
|
result = run_cli(["--version"])
|
|
114
115
|
assert result.returncode == 0
|
|
115
|
-
|
|
116
|
+
# Compare against the installed metadata, which is the same source main.py
|
|
117
|
+
# reads, rather than a literal. The property under test is that --version
|
|
118
|
+
# reports the package's own version -- not what that version happens to be --
|
|
119
|
+
# so a release bump should not have to edit this test.
|
|
120
|
+
assert result.stdout.strip() == version("insightfactory-cli")
|
|
116
121
|
|
|
117
122
|
|
|
118
123
|
def test_login_parses_profile_host_and_no_browser_flags():
|
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.github/workflows/claude.yml
RENAMED
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.github/workflows/release.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/config.py
RENAMED
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/login.py
RENAMED
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/logout.py
RENAMED
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/profiles.py
RENAMED
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/set_token.py
RENAMED
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/token.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_config_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_programmatic_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|