linz / gazetteer

New Zealand Gazetteer of official place names
http://www.linz.govt.nz/regulatory/place-names/find-name/new-zealand-gazetteer-official-geographic-names/new-zealand-gazetteer-search-place-names#zoom=0&lat=-41.14127&lon=172.5&layers=BTTT
Other
2 stars 2 forks source link

CI - DB function calls failing in CI #148

Closed SPlanzer closed 4 years ago

SPlanzer commented 4 years ago

 test_a_new_feature_dlg (test_new_feature.TestNewFeature) ... ok
test_b_new_feature_dlg_name_missing (test_new_feature.TestNewFeature) ... ok
test_c_invalid_lon_not_in_range (test_new_feature.TestNewFeature) ... ok
test_d_invalid_geom_lat_lon (test_new_feature.TestNewFeature) ... ok
test_e_new_feature (test_new_feature.TestNewFeature) ... ERROR
test_f_click_edit_btn (test_new_feature.TestNewFeature) ... ERROR
test_g_edit_process (test_new_feature.TestNewFeature) ... ERROR
test_h_edit_name (test_new_feature.TestNewFeature) ... ERROR
test_i_other_name (test_new_feature.TestNewFeature) ... ERROR

======================================================================
ERROR: test_e_new_feature (test_new_feature.TestNewFeature)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 1284, in _execute_context
SPlanzer commented 4 years ago

Was an issue with the order the setUpClass initialed the plugin and then loaded data to the DB. the plugin classes were missing reference to the data in the DB this way. Data is now loaded prior to starting the plugin in all cases