Skip to content

Commit

Permalink
Save downloaded test file to temporary directory
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-v-diaz committed Feb 15, 2017
1 parent bcf3bce commit 07b8225
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_multiple_repositories_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,9 @@ def test_repository_tool(self):
multi_repo_updater = updater.MultiRepoUpdater(self.map_file)
targetinfo, my_updater = multi_repo_updater.get_one_valid_targetinfo('file3.txt')

my_updater.download_target(targetinfo, 'targets')
self.assertTrue(os.path.exists(os.path.join('targets', 'file3.txt')))

my_updater.download_target(targetinfo, self.temporary_directory)
self.assertTrue(os.path.exists(os.path.join(self.temporary_directory, 'file3.txt')))



Expand Down

0 comments on commit 07b8225

Please sign in to comment.