Skip to content

Commit

Permalink
Change key order in map_layer_relation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Sep 13, 2023
1 parent f769e33 commit e3c7a88
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

TEST_CASES = {
'post': {
'rest_method': base_test_classes.RestMethodAll.POST,
'rest_args': {
'file_paths': [os.path.join(DIRECTORY, 'internal_wms_and_wfs.json')],
},
'post_before_test_args': {},
'exp_before_rest_method': {
'map_layers': None,
'operates_on': None,
},
'rest_method': base_test_classes.RestMethodAll.POST,
'rest_args': {
'file_paths': [os.path.join(DIRECTORY, 'internal_wms_and_wfs.json')],
},
'exp_after_rest_method': {
'map_layers': {
# layer, layer index, exists?
Expand All @@ -42,8 +42,6 @@
},
},
'delete': {
'rest_method': base_test_classes.RestMethodAll.DELETE,
'rest_args': {},
'post_before_test_args': {
'file_paths': [os.path.join(DIRECTORY, 'internal_wms_and_wfs.json')],
},
Expand All @@ -55,6 +53,8 @@
},
'operates_on': [LAYER_HRANICE],
},
'rest_method': base_test_classes.RestMethodAll.DELETE,
'rest_args': {},
'exp_after_rest_method': {
'map_layers': None,
'operates_on': None,
Expand Down

0 comments on commit e3c7a88

Please sign in to comment.