Skip to content

Commit

Permalink
More logs
Browse files Browse the repository at this point in the history
  • Loading branch information
navrang9 committed Jun 25, 2024
1 parent 6964f61 commit 285a795
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests_integration/integration_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from datetime import datetime
import logging
import os
import re
Expand All @@ -7,6 +8,11 @@

container_name = 'tests_integration-airflow-worker-1'

@pytest.fixture(autouse=True)
def setup_before_test(request):
# Code that runs before each test
print("\Executing ", request.node.name)

def run_docker_exec(command):

result = subprocess.run(
Expand Down Expand Up @@ -39,8 +45,6 @@ def assert_tm1server_log_contains(expected_line):
found = re.search(expected_line, file_content)
assert found



def assert_airflow_dag_log_contains(string, output):
assert string in output

Expand Down

0 comments on commit 285a795

Please sign in to comment.