Skip to content

Commit 366c57e

Browse files
committed
update test
1 parent f42b4f8 commit 366c57e

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

tests/test_cookiecutter.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,11 @@
1919
}
2020

2121
CORE_FILES = {
22-
"mlops_manager.py",
23-
"minikube_manager.py",
24-
"kube_config_inline",
25-
"utils.py",
26-
"docker_image_name_generator.py",
27-
"docker-compose.yml",
2822
"README.md",
2923
".env",
3024
".gitignore",
3125
"environment.yml",
3226
"dags/README.md",
33-
"dockerfiles/README.md",
34-
"dockerfiles/mlflow/requirements.txt",
35-
"dockerfiles/mlflow/Dockerfile",
36-
"dockerfiles/airflow/Dockerfile",
3727
"notebooks/README.md",
3828
"notebooks/examples/mlflow_direct_inference.ipynb",
3929
"notebooks/examples/mlflow_local_deploy_inference.ipynb",
@@ -144,20 +134,6 @@ def test_project_generation(temp_dir: str, test_case: dict[str, Any]):
144134
env_data = yaml.safe_load(f)
145135
assert context["folder_name"] in env_data["name"], "Wrong environment name"
146136

147-
docker_compose = (project_dir / "docker-compose.yml").read_text()
148-
minio_configs = [
149-
"MINIO_ROOT_USER",
150-
"MINIO_ROOT_PASSWORD",
151-
"AWS_ACCESS_KEY_ID",
152-
"AWS_SECRET_ACCESS_KEY",
153-
"MLFLOW_S3_ENDPOINT_URL",
154-
]
155-
artifact_config = "--default-artifact-root s3://${MLFLOW_BUCKET_NAME} --artifacts-destination s3://${MLFLOW_BUCKET_NAME}"
156-
157-
for config in minio_configs:
158-
assert config in docker_compose
159-
assert artifact_config in docker_compose
160-
161137
actual_files = get_all_files(project_dir)
162138
core_files_copy = CORE_FILES.copy()
163139

0 commit comments

Comments
 (0)