Run black on moto & test directories.
This commit is contained in:
parent
c820395dbf
commit
96e5b1993d
507 changed files with 52541 additions and 47814 deletions
|
|
@ -9,14 +9,13 @@ from moto import mock_sqs_deprecated, mock_ec2_deprecated
|
|||
|
||||
|
||||
class TestNestedDecorators(unittest.TestCase):
|
||||
|
||||
@mock_sqs_deprecated
|
||||
def setup_sqs_queue(self):
|
||||
conn = SQSConnection()
|
||||
q = conn.create_queue('some-queue')
|
||||
q = conn.create_queue("some-queue")
|
||||
|
||||
m = Message()
|
||||
m.set_body('This is my first message.')
|
||||
m.set_body("This is my first message.")
|
||||
q.write(m)
|
||||
|
||||
self.assertEqual(q.count(), 1)
|
||||
|
|
@ -26,4 +25,4 @@ class TestNestedDecorators(unittest.TestCase):
|
|||
self.setup_sqs_queue()
|
||||
|
||||
conn = EC2Connection()
|
||||
conn.run_instances('ami-123456')
|
||||
conn.run_instances("ami-123456")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue