-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
19 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
from .wps_causal import Causal | ||
from .wps_say_hello import SayHello | ||
|
||
processes = [ | ||
SayHello(), | ||
Causal(), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,4 @@ def test_wps_caps(): | |
'/ows:Identifier') | ||
assert sorted(names.split()) == [ | ||
'causal', | ||
'hello', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from pywps import Service # noqa: F401 | ||
from pywps.tests import assert_response_success, client_for # noqa: F401 | ||
|
||
from hawk.processes.wps_causal import Causal # noqa: F401 | ||
|
||
from .common import get_output # noqa: F401 | ||
|
||
|
||
# def test_wps_causal(): | ||
# client = client_for(Service(processes=[Causal()])) | ||
# datainputs = "name=LovelySugarBird" | ||
# resp = client.get( | ||
# "?service=WPS&request=Execute&version=1.0.0&identifier=causal&datainputs={}".format( | ||
# datainputs)) | ||
# assert_response_success(resp) | ||
# assert get_output(resp.xml) == {'output': "Hello LovelySugarBird"} |
This file was deleted.
Oops, something went wrong.