From 9b874c3bea69757aeddd1404550cfe642b336fb5 Mon Sep 17 00:00:00 2001 From: tdstein Date: Wed, 24 Jul 2024 09:14:01 -0400 Subject: [PATCH] chore: add connect directory to resources directory tree. --- .../bundles/example-flask-minimal/bundle.tar.gz | Bin .../bundles/example-flask-minimal/hello.py | 0 .../bundles/example-flask-minimal/manifest.json | 0 .../bundles/example-flask-minimal/requirements.txt | 0 .../bundles/example-quarto-minimal/.gitignore | 0 .../bundles/example-quarto-minimal/_quarto.yml | 0 .../bundles/example-quarto-minimal/about.qmd | 0 .../bundles/example-quarto-minimal/bundle.tar.gz | Bin .../bundles/example-quarto-minimal/index.qmd | 0 .../bundles/example-quarto-minimal/manifest.json | 0 .../bundles/example-quarto-minimal/styles.css | 0 integration/tests/posit/connect/test_content.py | 4 ++-- 12 files changed, 2 insertions(+), 2 deletions(-) rename integration/resources/{ => connect}/bundles/example-flask-minimal/bundle.tar.gz (100%) rename integration/resources/{ => connect}/bundles/example-flask-minimal/hello.py (100%) rename integration/resources/{ => connect}/bundles/example-flask-minimal/manifest.json (100%) rename integration/resources/{ => connect}/bundles/example-flask-minimal/requirements.txt (100%) rename integration/resources/{ => connect}/bundles/example-quarto-minimal/.gitignore (100%) rename integration/resources/{ => connect}/bundles/example-quarto-minimal/_quarto.yml (100%) rename integration/resources/{ => connect}/bundles/example-quarto-minimal/about.qmd (100%) rename integration/resources/{ => connect}/bundles/example-quarto-minimal/bundle.tar.gz (100%) rename integration/resources/{ => connect}/bundles/example-quarto-minimal/index.qmd (100%) rename integration/resources/{ => connect}/bundles/example-quarto-minimal/manifest.json (100%) rename integration/resources/{ => connect}/bundles/example-quarto-minimal/styles.css (100%) diff --git a/integration/resources/bundles/example-flask-minimal/bundle.tar.gz b/integration/resources/connect/bundles/example-flask-minimal/bundle.tar.gz similarity index 100% rename from integration/resources/bundles/example-flask-minimal/bundle.tar.gz rename to integration/resources/connect/bundles/example-flask-minimal/bundle.tar.gz diff --git a/integration/resources/bundles/example-flask-minimal/hello.py b/integration/resources/connect/bundles/example-flask-minimal/hello.py similarity index 100% rename from integration/resources/bundles/example-flask-minimal/hello.py rename to integration/resources/connect/bundles/example-flask-minimal/hello.py diff --git a/integration/resources/bundles/example-flask-minimal/manifest.json b/integration/resources/connect/bundles/example-flask-minimal/manifest.json similarity index 100% rename from integration/resources/bundles/example-flask-minimal/manifest.json rename to integration/resources/connect/bundles/example-flask-minimal/manifest.json diff --git a/integration/resources/bundles/example-flask-minimal/requirements.txt b/integration/resources/connect/bundles/example-flask-minimal/requirements.txt similarity index 100% rename from integration/resources/bundles/example-flask-minimal/requirements.txt rename to integration/resources/connect/bundles/example-flask-minimal/requirements.txt diff --git a/integration/resources/bundles/example-quarto-minimal/.gitignore b/integration/resources/connect/bundles/example-quarto-minimal/.gitignore similarity index 100% rename from integration/resources/bundles/example-quarto-minimal/.gitignore rename to integration/resources/connect/bundles/example-quarto-minimal/.gitignore diff --git a/integration/resources/bundles/example-quarto-minimal/_quarto.yml b/integration/resources/connect/bundles/example-quarto-minimal/_quarto.yml similarity index 100% rename from integration/resources/bundles/example-quarto-minimal/_quarto.yml rename to integration/resources/connect/bundles/example-quarto-minimal/_quarto.yml diff --git a/integration/resources/bundles/example-quarto-minimal/about.qmd b/integration/resources/connect/bundles/example-quarto-minimal/about.qmd similarity index 100% rename from integration/resources/bundles/example-quarto-minimal/about.qmd rename to integration/resources/connect/bundles/example-quarto-minimal/about.qmd diff --git a/integration/resources/bundles/example-quarto-minimal/bundle.tar.gz b/integration/resources/connect/bundles/example-quarto-minimal/bundle.tar.gz similarity index 100% rename from integration/resources/bundles/example-quarto-minimal/bundle.tar.gz rename to integration/resources/connect/bundles/example-quarto-minimal/bundle.tar.gz diff --git a/integration/resources/bundles/example-quarto-minimal/index.qmd b/integration/resources/connect/bundles/example-quarto-minimal/index.qmd similarity index 100% rename from integration/resources/bundles/example-quarto-minimal/index.qmd rename to integration/resources/connect/bundles/example-quarto-minimal/index.qmd diff --git a/integration/resources/bundles/example-quarto-minimal/manifest.json b/integration/resources/connect/bundles/example-quarto-minimal/manifest.json similarity index 100% rename from integration/resources/bundles/example-quarto-minimal/manifest.json rename to integration/resources/connect/bundles/example-quarto-minimal/manifest.json diff --git a/integration/resources/bundles/example-quarto-minimal/styles.css b/integration/resources/connect/bundles/example-quarto-minimal/styles.css similarity index 100% rename from integration/resources/bundles/example-quarto-minimal/styles.css rename to integration/resources/connect/bundles/example-quarto-minimal/styles.css diff --git a/integration/tests/posit/connect/test_content.py b/integration/tests/posit/connect/test_content.py index 633d79b6..50af4fb3 100644 --- a/integration/tests/posit/connect/test_content.py +++ b/integration/tests/posit/connect/test_content.py @@ -50,7 +50,7 @@ def test_restart(self): content = self.client.content.create(name="example-flask-minimal") # create bundle path = Path( - "../../../resources/bundles/example-flask-minimal/bundle.tar.gz" + "../../../resources/connect/bundles/example-flask-minimal/bundle.tar.gz" ) path = (Path(__file__).parent / path).resolve() bundle = content.bundles.create(str(path)) @@ -71,7 +71,7 @@ def test_render(self): content = self.client.content.create(name="example-quarto-minimal") # create bundle path = Path( - "../../../resources/bundles/example-quarto-minimal/bundle.tar.gz" + "../../../resources/connect/bundles/example-quarto-minimal/bundle.tar.gz" ) path = (Path(__file__).parent / path).resolve() bundle = content.bundles.create(str(path))