File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def test_integration_context_non_base64(self):
171171 envelope_string = from_querystring ("co" , querystrings [- 1 ])
172172 envelope = json .loads (unquote_plus (envelope_string ))
173173 self .assertEquals (envelope , {
174- "schema" : "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0 " ,
174+ "schema" : "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-1 " ,
175175 "data" :[{"schema" : "iglu:com.example/user/jsonschema/2-0-3" , "data" : {"user_type" : "tester" }}]
176176 })
177177
@@ -182,7 +182,7 @@ def test_integration_context_base64(self):
182182 envelope_string = unquote_plus (from_querystring ("cx" , querystrings [- 1 ]))
183183 envelope = json .loads ((base64 .urlsafe_b64decode (bytearray (envelope_string , "utf-8" ))).decode ("utf-8" ))
184184 self .assertEquals (envelope , {
185- "schema" : "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0 " ,
185+ "schema" : "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-1 " ,
186186 "data" :[{"schema" : "iglu:com.example/user/jsonschema/2-0-3" , "data" : {"user_type" : "tester" }}]
187187 })
188188
Original file line number Diff line number Diff line change 3434DEFAULT_ENCODE_BASE64 = True
3535BASE_SCHEMA_PATH = "iglu:com.snowplowanalytics.snowplow"
3636SCHEMA_TAG = "jsonschema"
37- CONTEXT_SCHEMA = "%s/contexts/%s/1-0-0 " % (BASE_SCHEMA_PATH , SCHEMA_TAG )
37+ CONTEXT_SCHEMA = "%s/contexts/%s/1-0-1 " % (BASE_SCHEMA_PATH , SCHEMA_TAG )
3838UNSTRUCT_EVENT_SCHEMA = "%s/unstruct_event/%s/1-0-0" % (BASE_SCHEMA_PATH , SCHEMA_TAG )
3939
4040
You can’t perform that action at this time.
0 commit comments