Skip to content

Commit

Permalink
[TEST] print yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
josep-tecnativa committed Jun 19, 2024
1 parent 7ad52d8 commit 0f9db67
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_routing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import time
import uuid
from pathlib import Path
import os

import pytest
import requests
Expand Down Expand Up @@ -66,6 +67,15 @@ def test_multiple_domains(
if supported_odoo_version < 16:
data["postgres_version"] = 13
dc = DockerClient(compose_files=[f"{environment}.yaml"])
yaml_file = f"{environment}.yaml"
# Leer y mostrar el contenido del archivo YAML
if os.path.exists(yaml_file):
with open(yaml_file, 'r') as file:
yaml_content = file.read()
print(f"Contenido de {yaml_file}:")
print(yaml_content)
else:
print(f"No se encontró el archivo {yaml_file}")
with local.cwd(tmp_path):
run_copy(
src_path=str(cloned_template),
Expand Down

0 comments on commit 0f9db67

Please sign in to comment.