Skip to content
Snippets Groups Projects
Commit f96ad342 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Expopsing app for testing

parent b4756d1e
No related branches found
No related tags found
No related merge requests found
Pipeline #2003 failed
...@@ -13,3 +13,6 @@ def run_service(directory, port=5000, categorical=False): ...@@ -13,3 +13,6 @@ def run_service(directory, port=5000, categorical=False):
""" """
service = GeoTIFFService(directory, port, categorical) service = GeoTIFFService(directory, port, categorical)
service.run() service.run()
# Optionally expose the app object for testing if needed
app = GeoTIFFService('path/to/dir').app
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment