Commit 903f2b5 1 parent 9a60730 commit 903f2b5 Copy full SHA for 903f2b5
File tree 1 file changed +15
-17
lines changed
1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -37,20 +37,18 @@ def test_add_feature_collection_form(qgis_iface):
37
37
"USGS/WBD/2017/HUC06"
38
38
)
39
39
40
- assert utils .get_values (dialog ) == {
41
- "feature_collection_id" : "USGS/WBD/2017/HUC06" ,
42
- "filter_name" : "" ,
43
- "filter_value" : "" ,
44
- # "start_date": "", # TODO: This is missing
45
- # "end_date": "", # TODO: This is missing
46
- "mYMaxLineEdit" : "" ,
47
- "mYMinLineEdit" : "" ,
48
- "mXMaxLineEdit" : "" ,
49
- "mXMinLineEdit" : "" ,
50
- "viz_color_hex" : "#000000" ,
51
- "use_util" : False ,
52
- ** { # TODO: this is unexpected
53
- "mCondensedLineEdit" : "" ,
54
- "qt_spinbox_lineedit" : "2025-02-12" ,
55
- },
56
- }
40
+ dialog_values = utils .get_values (dialog )
41
+
42
+ assert (
43
+ dialog_values .items ()
44
+ >= {
45
+ "feature_collection_id" : "USGS/WBD/2017/HUC06" ,
46
+ "filter_name" : "" ,
47
+ "filter_value" : "" ,
48
+ "start_date" : None ,
49
+ "end_date" : None ,
50
+ "extent" : None ,
51
+ "viz_color_hex" : "#000000" ,
52
+ "use_util" : False ,
53
+ }.items ()
54
+ )
You can’t perform that action at this time.
0 commit comments