From 261ee7bf593ebde40b6b6a2af3ff49c3392eaae1 Mon Sep 17 00:00:00 2001 From: ldericher <40151420+ldericher@users.noreply.github.com> Date: Mon, 21 Feb 2022 22:47:19 +0100 Subject: [PATCH] rename "hello-world.project" --- example/{hello-world.project => hello_world}/docker-compose.yml | 0 example/{hello-world.project => hello_world}/web/Dockerfile | 0 example/{hello-world.project => hello_world}/web/index.html | 0 example/kiwi.yml | 2 +- tests/test_instance.py | 2 +- tests/test_project.py | 2 +- 6 files changed, 3 insertions(+), 3 deletions(-) rename example/{hello-world.project => hello_world}/docker-compose.yml (100%) rename example/{hello-world.project => hello_world}/web/Dockerfile (100%) rename example/{hello-world.project => hello_world}/web/index.html (100%) diff --git a/example/hello-world.project/docker-compose.yml b/example/hello_world/docker-compose.yml similarity index 100% rename from example/hello-world.project/docker-compose.yml rename to example/hello_world/docker-compose.yml diff --git a/example/hello-world.project/web/Dockerfile b/example/hello_world/web/Dockerfile similarity index 100% rename from example/hello-world.project/web/Dockerfile rename to example/hello_world/web/Dockerfile diff --git a/example/hello-world.project/web/index.html b/example/hello_world/web/index.html similarity index 100% rename from example/hello-world.project/web/index.html rename to example/hello_world/web/index.html diff --git a/example/kiwi.yml b/example/kiwi.yml index 581505a..a9f55fa 100644 --- a/example/kiwi.yml +++ b/example/kiwi.yml @@ -8,7 +8,7 @@ shells: - /bin/bash projects: - - name: hello-world.project + - name: hello_world enabled: true storage: diff --git a/tests/test_instance.py b/tests/test_instance.py index 1a5beb3..4b7f9a5 100644 --- a/tests/test_instance.py +++ b/tests/test_instance.py @@ -12,7 +12,7 @@ class TestDefault: pc = i.config.projects[0] - assert pc.name == "hello-world.project" + assert pc.name == "hello_world" def test_empty(self): i = Instance() diff --git a/tests/test_project.py b/tests/test_project.py index 79531ba..8234e32 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -12,7 +12,7 @@ class TestDefault: def test_example(self): p = Project( - directory=Path("example/hello-world.project"), + directory=Path("example/hello_world"), parent_instance=None, )