Skip to content

Commit

Permalink
Close fp before applying changes in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jc2k committed May 27, 2015
1 parent c4b9bfb commit c2f888a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions touchdown/tests/test_provisioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ def test_destroy(self):

def test_file_apply(self):
with tempfile.NamedTemporaryFile(delete=True) as fp:
fp.close()

bundle = self.workspace.add_fuselage_bundle(
target=self.workspace.add_local(),
)
Expand All @@ -49,6 +51,8 @@ def test_file_apply(self):

def test_file_apply_serializers(self):
with tempfile.NamedTemporaryFile(delete=True) as fp:
fp.close()

bundle = self.workspace.add_fuselage_bundle(
target=self.workspace.add_local(),
)
Expand Down

0 comments on commit c2f888a

Please sign in to comment.