Skip to content

Commit f4ab3dc

Browse files
author
stephanie
committed
update the create functions
1 parent 2079936 commit f4ab3dc

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

.cache/v/cache/lastfailed

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
2+
"tests/test_SessionFactory.py::test_aSessionFactory[setup0]": true,
3+
"tests/test_SessionFactory.py::test_aSessionFactory[setup1]": true,
4+
"tests/test_SessionFactory.py::test_aSessionFactory[setup2]": true,
5+
"tests/test_SessionFactory.py::test_aSessionFactory[setup3]": true,
26
"tests/test_SessionFactory.py::test_aSessionFactory[setup4]": true,
37
"tests/test_SessionFactory.py::test_aSessionFactory[setup5]": true,
48
"tests/test_SessionFactory.py::test_aSessionFactory[setup6]": true,
9+
"tests/test_connection.py::test_connection[setup0]": true,
10+
"tests/test_connection.py::test_connection[setup1]": true,
511
"tests/test_connection.py::test_connection[setup2]": true,
612
"tests/test_connection.py::test_connection[setup3]": true,
713
"tests/test_odm2/test_createservice.py::TestCreateService::()::test_createAction": true,
@@ -25,12 +31,20 @@
2531
"tests/test_odm2/test_createservice.py::TestCreateService::()::test_createTimeSeriesResultValues": true,
2632
"tests/test_odm2/test_createservice.py::TestCreateService::()::test_createUnit": true,
2733
"tests/test_odm2/test_createservice.py::TestCreateService::()::test_createVariable": true,
34+
"tests/test_odm2/test_model.py::test_cvelevationdatum[setup0]": true,
35+
"tests/test_odm2/test_model.py::test_cvelevationdatum[setup1]": true,
2836
"tests/test_odm2/test_model.py::test_cvelevationdatum[setup2]": true,
2937
"tests/test_odm2/test_model.py::test_cvelevationdatum[setup3]": true,
38+
"tests/test_odm2/test_model.py::test_cvsamplingfeatuergeotype[setup0]": true,
39+
"tests/test_odm2/test_model.py::test_cvsamplingfeatuergeotype[setup1]": true,
3040
"tests/test_odm2/test_model.py::test_cvsamplingfeatuergeotype[setup2]": true,
3141
"tests/test_odm2/test_model.py::test_cvsamplingfeatuergeotype[setup3]": true,
42+
"tests/test_odm2/test_model.py::test_cvsamplingfeaturetype[setup0]": true,
43+
"tests/test_odm2/test_model.py::test_cvsamplingfeaturetype[setup1]": true,
3244
"tests/test_odm2/test_model.py::test_cvsamplingfeaturetype[setup2]": true,
3345
"tests/test_odm2/test_model.py::test_cvsamplingfeaturetype[setup3]": true,
46+
"tests/test_odm2/test_model.py::test_sampling_feature[setup0]": true,
47+
"tests/test_odm2/test_model.py::test_sampling_feature[setup1]": true,
3448
"tests/test_odm2/test_model.py::test_sampling_feature[setup2]": true,
3549
"tests/test_odm2/test_model.py::test_sampling_feature[setup3]": true,
3650
"tests/test_odm2/test_readservice.py::TestReadService::()::test_getAllModels": true,

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
*.py[cod]
22
*~
3-
.ipynb_checkpoints
3+
44

55
# C extensions
66
*.so
@@ -40,7 +40,9 @@ nosetests.xml
4040

4141
log
4242
*.log
43-
.idea
43+
4444

4545
.DS_Store
4646
.ipynb_checkpoints
47+
.cache
48+
.idea

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ before_script:
4545

4646
before_install:
4747
# python -m pip makes the install go into the virtualenv
48-
- pip install --upgrade pip
49-
- python -m pip install pandas
48+
- sudo pip install --upgrade pip
49+
- sudo python -m pip install pandas
5050
- export PYMSSQL_BUILD_WITH_BUNDLED_FREETDS=1;python -m pip install pymssql
5151
# - python -m pip install mysql-python
5252
install: # now just our code

Examples/Sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
session = session_factory.getSession()
9191
newsf = Sites(FeatureGeometryWKT = "POINT(-111.946 41.718)", Elevation_m=100, ElevationDatumCV=sf.ElevationDatumCV,
9292
SamplingFeatureCode= "TestSF",SamplingFeatureDescription = "this is a test to add Feature Geomotry",
93-
SamplingFeatureGeotypeCV= "Point", SamplingFeatureTypeCV=sf.SamplingFeatureTypeCV,SamplingFeatureUUID= sf.SamplingFeatureUUID+"2",
93+
SamplingFeatureGeotypeCV= "Point", SamplingFeatureTypeCV=sf.SamplingFeatureTypeCV,SamplingFeatureUUID= sf.SamplingFeatureUUID+"3",
9494
SiteTypeCV="cave", Latitude= "100", Longitude= "-100", SpatialReferenceID= 0)
9595

9696
create.createSamplingFeature(newsf)

0 commit comments

Comments
 (0)