Skip to content

Commit

Permalink
Remove cruft and no-ops.
Browse files Browse the repository at this point in the history
  • Loading branch information
DailyDreaming committed Jan 30, 2025
1 parent e97e405 commit 03612b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/toil/test/lib/test_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_parse_stable_feed(self):
self.assertTrue(ami.startswith("ami-"))


# @needs_aws_ec2
@needs_aws_ec2
class AMITest(ToilTest):
@classmethod
def setUpClass(cls):
Expand All @@ -69,8 +69,6 @@ def setUpClass(cls):
cls.ec2_client = session.client("ec2")

def test_fetch_flatcar(self):
print('anything at all')
# raise RuntimeError('wat')
with self.subTest("Test flatcar AMI from user is prioritized."):
with mock.patch.dict(os.environ, {"TOIL_AWS_AMI": "overridden"}):
ami = get_flatcar_ami(self.ec2_client)
Expand Down

0 comments on commit 03612b4

Please sign in to comment.