Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ flake8>=3.3.0
tox>=2.2.1
pytest-cov>=2.4.0
pylint>=1.7.2,<2.0
pyyaml>=4.2b1
pyyaml>=5.1

# Test requirements
pytest>=3.0.7
Expand Down
2 changes: 2 additions & 0 deletions tests/model/test_sam_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ class TestApiTags(TestCase):
}
}

@patch('boto3.session.Session.region_name', 'ap-southeast-1')
def test_with_no_tags(self):
api = SamApi("foo")
api.Tags = {}
Expand All @@ -142,6 +143,7 @@ def test_with_no_tags(self):
self.assertEqual(deployment.__len__(), 1)
self.assertEqual(deployment[0].Tags, [])

@patch('boto3.session.Session.region_name', 'ap-southeast-1')
def test_with_tags(self):
api = SamApi("foo")
api.Tags = {
Expand Down