forked from e-mission/e-mission-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
createfakeplace.py + removing dockerize + setup_integrationtests.sh
docker-compose.tests.yml: removing whitespace (My test doesn't use this file, so it must have been added there on accident) dockerfile: removing dockerize and extra print start_integration_tests: removing dockerize wait command and some extra whitespaces setup_integrationtests.sh: created a new shell script that's separate from setup_tests.sh. essentially the same, but added a line to run createfakeplace.py createfakeplace.py: creates a fake place to be used in testnominatim.py testnominatim.py: added functionality for createfakeplace.py.
- Loading branch information
1 parent
8a6d339
commit 1e90c65
Showing
6 changed files
with
25 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import emission.core.wrapper.entry as ecwe | ||
|
||
#Creates a fake, cleaned place in Rhode Island for use in TestNominatim.py: | ||
def create_fake_place(): | ||
fake_id = "place_in_rhodeisland" | ||
key = "segmentation/raw_place" | ||
write_ts = 1694344333 | ||
data = {'source': 'FakeTripGenerator','location': {'type': 'Point', 'coordinates': [-71.4128343, 41.8239891]}} | ||
fake_place = ecwe.Entry.create_fake_entry(fake_id, key, data, write_ts) | ||
return fake_place |
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
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 |
---|---|---|
|
@@ -32,7 +32,6 @@ services: | |
networks: | ||
- emission | ||
|
||
|
||
networks: | ||
emission: | ||
|
||
|
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,9 @@ | ||
#!/bin/bash | ||
|
||
source setup/checks/check_for_conda.sh | ||
|
||
conda env update --name emissiontest --file setup/environment36.yml | ||
# python bin/deploy/habitica_conf.py | ||
python bin/deploy/push_conf.py | ||
python bin/deploy/model_copy.py | ||
python bin/createfakeplace.py |