tests.system.amazon.aws.example_http_to_s3

Module Contents

Functions

create_connection(conn_id_name)

Attributes

sys_test_context_task

DAG_ID

cmd

test_context

test_run

tests.system.amazon.aws.example_http_to_s3.sys_test_context_task[source]
tests.system.amazon.aws.example_http_to_s3.DAG_ID = 'example_http_to_s3'[source]
tests.system.amazon.aws.example_http_to_s3.cmd = Multiline-String[source]
Show Value
"""
#!/bin/bash

echo 'foo' > /tmp/test_file

cd /tmp

nohup python3 -m http.server 8083 > /dev/null 2>&1 &

echo $!
sleep 2
exit 0
"""
tests.system.amazon.aws.example_http_to_s3.create_connection(conn_id_name)[source]
tests.system.amazon.aws.example_http_to_s3.test_context[source]
tests.system.amazon.aws.example_http_to_s3.test_run[source]

Was this entry helpful?