@@ -83,7 +83,7 @@ def test_onprogress(self):
8383 with open (os .path .join (FIXTURE_DIRS , 'onprogress.json' )) as f :
8484 content = f .read ()
8585
86- resp = self .client .post ('/sns_endpoint /' , content , content_type = "application/json" )
86+ resp = self .client .post ('/endpoint /' , content , content_type = "application/json" )
8787 self .assertEqual (resp .status_code , 200 )
8888 self .assertEqual (resp .content , 'Done' )
8989
@@ -94,7 +94,7 @@ def test_onerror(self):
9494 with open (os .path .join (FIXTURE_DIRS , 'onerror.json' )) as f :
9595 content = f .read ()
9696
97- resp = self .client .post ('/sns_endpoint /' , content , content_type = "application/json" )
97+ resp = self .client .post ('/endpoint /' , content , content_type = "application/json" )
9898 self .assertEqual (resp .status_code , 200 )
9999 self .assertEqual (resp .content , 'Done' )
100100
@@ -106,7 +106,7 @@ def test_oncomplete(self):
106106 with open (os .path .join (FIXTURE_DIRS , 'oncomplete.json' )) as f :
107107 content = f .read ()
108108
109- resp = self .client .post ('/sns_endpoint /' , content , content_type = "application/json" )
109+ resp = self .client .post ('/endpoint /' , content , content_type = "application/json" )
110110 self .assertEqual (resp .status_code , 200 )
111111 self .assertEqual (resp .content , 'Done' )
112112
0 commit comments