clonebox 0.1.29__tar.gz → 0.1.30__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.
- {clonebox-0.1.29/src/clonebox.egg-info → clonebox-0.1.30}/PKG-INFO +3 -1
- {clonebox-0.1.29 → clonebox-0.1.30}/pyproject.toml +3 -1
- {clonebox-0.1.29 → clonebox-0.1.30/src/clonebox.egg-info}/PKG-INFO +3 -1
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/requires.txt +2 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_coverage_boost_final.py +5 -2
- {clonebox-0.1.29 → clonebox-0.1.30}/LICENSE +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/README.md +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/setup.cfg +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/__init__.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/__main__.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/cli.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/cloner.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/container.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/dashboard.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/detector.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/models.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/profiles.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/templates/profiles/ml-dev.yaml +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/validator.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/SOURCES.txt +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/dependency_links.txt +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/entry_points.txt +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/top_level.txt +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_cli.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_cloner.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_cloner_simple.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_container.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_coverage_additional.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_dashboard_coverage.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_detector.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_models.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_network.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_profiles.py +0 -0
- {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_validator.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clonebox
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.30
|
|
4
4
|
Summary: Clone your workstation environment to an isolated VM with selective apps, paths and services
|
|
5
5
|
Author: CloneBox Team
|
|
6
6
|
License: Apache-2.0
|
|
@@ -42,6 +42,8 @@ Provides-Extra: test
|
|
|
42
42
|
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
43
43
|
Requires-Dist: pytest-cov>=4.0.0; extra == "test"
|
|
44
44
|
Requires-Dist: pytest-timeout>=2.0.0; extra == "test"
|
|
45
|
+
Requires-Dist: pytest-asyncio; extra == "test"
|
|
46
|
+
Requires-Dist: fastapi>=0.100.0; extra == "test"
|
|
45
47
|
Provides-Extra: dashboard
|
|
46
48
|
Requires-Dist: fastapi>=0.100.0; extra == "dashboard"
|
|
47
49
|
Requires-Dist: uvicorn>=0.22.0; extra == "dashboard"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "clonebox"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.30"
|
|
8
8
|
description = "Clone your workstation environment to an isolated VM with selective apps, paths and services"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "Apache-2.0"}
|
|
@@ -52,6 +52,8 @@ test = [
|
|
|
52
52
|
"pytest>=7.0.0",
|
|
53
53
|
"pytest-cov>=4.0.0",
|
|
54
54
|
"pytest-timeout>=2.0.0",
|
|
55
|
+
"pytest-asyncio",
|
|
56
|
+
"fastapi>=0.100.0",
|
|
55
57
|
]
|
|
56
58
|
dashboard = [
|
|
57
59
|
"fastapi>=0.100.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clonebox
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.30
|
|
4
4
|
Summary: Clone your workstation environment to an isolated VM with selective apps, paths and services
|
|
5
5
|
Author: CloneBox Team
|
|
6
6
|
License: Apache-2.0
|
|
@@ -42,6 +42,8 @@ Provides-Extra: test
|
|
|
42
42
|
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
43
43
|
Requires-Dist: pytest-cov>=4.0.0; extra == "test"
|
|
44
44
|
Requires-Dist: pytest-timeout>=2.0.0; extra == "test"
|
|
45
|
+
Requires-Dist: pytest-asyncio; extra == "test"
|
|
46
|
+
Requires-Dist: fastapi>=0.100.0; extra == "test"
|
|
45
47
|
Provides-Extra: dashboard
|
|
46
48
|
Requires-Dist: fastapi>=0.100.0; extra == "dashboard"
|
|
47
49
|
Requires-Dist: uvicorn>=0.22.0; extra == "dashboard"
|
|
@@ -277,8 +277,11 @@ def test_cloner_cloudinit_generation():
|
|
|
277
277
|
|
|
278
278
|
with tempfile.TemporaryDirectory() as tmpdir:
|
|
279
279
|
vm_dir = Path(tmpdir)
|
|
280
|
-
# Mock Path.exists for the host path in config.paths
|
|
281
|
-
with patch("pathlib.Path.exists", return_value=True)
|
|
280
|
+
# Mock Path.exists for the host path in config.paths and subprocess for genisoimage
|
|
281
|
+
with patch("pathlib.Path.exists", return_value=True), patch(
|
|
282
|
+
"subprocess.run"
|
|
283
|
+
) as mock_run:
|
|
284
|
+
mock_run.return_value = Mock(returncode=0)
|
|
282
285
|
iso_path = cloner._create_cloudinit_iso(vm_dir, config)
|
|
283
286
|
assert iso_path is not None
|
|
284
287
|
assert (vm_dir / "cloud-init" / "user-data").exists()
|
|
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
|
|
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
|