diff options
author | baude <bbaude@redhat.com> | 2020-12-11 09:17:45 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2020-12-11 10:07:13 -0600 |
commit | cb91bf96e02de8a6a7e50f83b4b69b9c47b84cc5 (patch) | |
tree | 46e3a7613d8893511bd8112653ea36258936d73c /test/compose/simple_port_map/frontend | |
parent | f3e69d7300e3b4d6c5bb676c1dae27b10c3a4d56 (diff) | |
download | podman-cb91bf96e02de8a6a7e50f83b4b69b9c47b84cc5.tar.gz podman-cb91bf96e02de8a6a7e50f83b4b69b9c47b84cc5.tar.bz2 podman-cb91bf96e02de8a6a7e50f83b4b69b9c47b84cc5.zip |
add compose test descriptions
adding compose test descriptions and validations.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/compose/simple_port_map/frontend')
-rw-r--r-- | test/compose/simple_port_map/frontend/app.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/compose/simple_port_map/frontend/app.py b/test/compose/simple_port_map/frontend/app.py index 97b17c440..e4f84068c 100644 --- a/test/compose/simple_port_map/frontend/app.py +++ b/test/compose/simple_port_map/frontend/app.py @@ -4,12 +4,7 @@ app = Flask(__name__) @app.route('/') def hello(): - passthru = "ERROR: Could not get $ENV_PASSTHRU envariable" - try: - passthru = os.getenv("ENV_PASSTHRU") - except Exception as e: - passthru = passthru + ": " + str(e) - return "Podman rulez!--" + passthru + "--!" + return "Podman rulez!" if __name__ == '__main__': app.run(host='0.0.0.0') |