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.
Files changed (34) hide show
  1. {clonebox-0.1.29/src/clonebox.egg-info → clonebox-0.1.30}/PKG-INFO +3 -1
  2. {clonebox-0.1.29 → clonebox-0.1.30}/pyproject.toml +3 -1
  3. {clonebox-0.1.29 → clonebox-0.1.30/src/clonebox.egg-info}/PKG-INFO +3 -1
  4. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/requires.txt +2 -0
  5. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_coverage_boost_final.py +5 -2
  6. {clonebox-0.1.29 → clonebox-0.1.30}/LICENSE +0 -0
  7. {clonebox-0.1.29 → clonebox-0.1.30}/README.md +0 -0
  8. {clonebox-0.1.29 → clonebox-0.1.30}/setup.cfg +0 -0
  9. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/__init__.py +0 -0
  10. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/__main__.py +0 -0
  11. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/cli.py +0 -0
  12. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/cloner.py +0 -0
  13. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/container.py +0 -0
  14. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/dashboard.py +0 -0
  15. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/detector.py +0 -0
  16. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/models.py +0 -0
  17. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/profiles.py +0 -0
  18. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/templates/profiles/ml-dev.yaml +0 -0
  19. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox/validator.py +0 -0
  20. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/SOURCES.txt +0 -0
  21. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/dependency_links.txt +0 -0
  22. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/entry_points.txt +0 -0
  23. {clonebox-0.1.29 → clonebox-0.1.30}/src/clonebox.egg-info/top_level.txt +0 -0
  24. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_cli.py +0 -0
  25. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_cloner.py +0 -0
  26. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_cloner_simple.py +0 -0
  27. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_container.py +0 -0
  28. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_coverage_additional.py +0 -0
  29. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_dashboard_coverage.py +0 -0
  30. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_detector.py +0 -0
  31. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_models.py +0 -0
  32. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_network.py +0 -0
  33. {clonebox-0.1.29 → clonebox-0.1.30}/tests/test_profiles.py +0 -0
  34. {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.29
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.29"
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.29
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"
@@ -21,3 +21,5 @@ mypy>=1.0.0
21
21
  pytest>=7.0.0
22
22
  pytest-cov>=4.0.0
23
23
  pytest-timeout>=2.0.0
24
+ pytest-asyncio
25
+ fastapi>=0.100.0
@@ -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