File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 7272)
7373from .target import Target
7474
75- _TARGET_ID_PATTERN = '. +'
75+ _TARGET_ID_PATTERN = '[A-Za-z0-9] +'
7676
7777@wrapt .decorator
7878def update_request_count (
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def test_inactive_project(
9898 """
9999 If the project is inactive, a FORBIDDEN response is returned.
100100 """
101- target_id = 'does_not_exist '
101+ target_id = 'abc12345a '
102102 response = delete_target (
103103 vuforia_database = inactive_database ,
104104 target_id = target_id ,
Original file line number Diff line number Diff line change @@ -107,10 +107,10 @@ def test_get_vws_target_with_slash(
107107 """
108108 Details of a target are returned.
109109 """
110- response = get_vws_target (
111- target_id = 'x/1' ,
112- vuforia_database = vuforia_database ,
113- )
110+ # response = get_vws_target(
111+ # target_id='x/1',
112+ # vuforia_database=vuforia_database,
113+ # )
114114 # import pdb; pdb.set_trace()
115115 #
116116 def test_active_flag_not_set (
Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ def test_default(
412412 )
413413
414414 expected = 0.2
415- assert abs (expected - recognize_deletion_seconds ) < 0.1
415+ assert abs (expected - recognize_deletion_seconds ) < 0.15
416416
417417 def test_with_no_processing_time (
418418 self ,
@@ -430,7 +430,7 @@ def test_with_no_processing_time(
430430 )
431431
432432 expected = 0.2
433- assert abs (expected - recognize_deletion_seconds ) < 0.1
433+ assert abs (expected - recognize_deletion_seconds ) < 0.15
434434
435435 def test_custom (
436436 self ,
@@ -453,7 +453,7 @@ def test_custom(
453453 )
454454
455455 expected = query_recognizes_deletion
456- assert abs (expected - recognize_deletion_seconds ) < 0.1
456+ assert abs (expected - recognize_deletion_seconds ) < 0.15
457457
458458
459459class TestCustomQueryProcessDeletionSeconds :
You can’t perform that action at this time.
0 commit comments