Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Update integration test to check for new authorization error which is…
Browse files Browse the repository at this point in the history
… now sent before a validation error after an upstream service update.
  • Loading branch information
danielgtaylor committed Dec 17, 2013
1 parent ac6e4e7 commit d0bd451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/opsworks/test_layer1.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import unittest
import time

from boto.exception import JSONResponseError
from boto.opsworks.layer1 import OpsWorksConnection
from boto.opsworks.exceptions import ValidationException


class TestOpsWorksConnection(unittest.TestCase):
Expand All @@ -35,6 +35,6 @@ def test_describe_stacks(self):
self.assertIn('Stacks', response)

def test_validation_errors(self):
with self.assertRaises(ValidationException):
with self.assertRaises(JSONResponseError):
self.api.create_stack('testbotostack', 'us-east-1',
'badarn', 'badarn2')

0 comments on commit d0bd451

Please sign in to comment.