File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def test__rejects_if_a_chs_is_not_defined(self):
41
41
42
42
43
43
def test__rejects_if_a_icac_is_defined_without_ichm (self ):
44
- with self .assertRaisesRegex (Exception , 'IC_MISSING_ENT_PARAMETER ' ):
44
+ with self .assertRaisesRegex (Exception , 'HMAC-SHA256 request signature ' ):
45
45
ImageCharts ().cht ('p' ).chd ('t:1,2,3' ).chs ('100x100' ).icac ('test_fixture' ).to_binary ()
46
46
47
47
def test__rejects_if_timeout_is_reached (self ):
@@ -66,7 +66,7 @@ def test__forwards_package_name_version_icac_as_user_agent(self):
66
66
self .assertEqual (chart .request_headers ['user-agent' ], 'python-image-charts/latest (MY_ACCOUNT_ID)' )
67
67
68
68
def test__throw_error_if_account_not_found (self ):
69
- with self .assertRaisesRegex (Exception , 'IC_ACCOUNT_ID_NOT_FOUND ' ):
69
+ with self .assertRaisesRegex (Exception , 'ACCOUND_ID not found, you must be an Image-Charts subscriber ' ):
70
70
ImageCharts ({'secret' : 'plop' }).cht ('p' ).chd ('t:1,2,3' ).chs ('10x10' ).icac ('MY_ACCOUNT_ID' ).to_binary ()
71
71
72
72
def test__rejects_if_there_was_an_error (self ):
You can’t perform that action at this time.
0 commit comments