Merge lp:~deeptik/linaro-license-protection/fix_test_invalid_target_path into lp:~linaro-automation/linaro-license-protection/trunk

Proposed by Deepti B. Kalakeri
Status: Merged
Approved by: Paul Sokolovsky
Approved revision: 57
Merged at revision: 57
Proposed branch: lp:~deeptik/linaro-license-protection/fix_test_invalid_target_path
Merge into: lp:~linaro-automation/linaro-license-protection/trunk
Diff against target: 13 lines (+3/-0)
1 file modified
testing/test_publish_to_snapshots.py (+3/-0)
To merge this branch: bzr merge lp:~deeptik/linaro-license-protection/fix_test_invalid_target_path
Reviewer Review Type Date Requested Status
Paul Sokolovsky Approve
Fathi Boudra Approve
Review via email: mp+102453@code.launchpad.net

Description of the change

Fix the test_validate_paths_invalid_target_path test case.

To post a comment you must log in.
Revision history for this message
Fathi Boudra (fboudra) :
review: Approve
Revision history for this message
Paul Sokolovsky (pfalcon) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'testing/test_publish_to_snapshots.py'
2--- testing/test_publish_to_snapshots.py 2012-04-17 09:23:05 +0000
3+++ testing/test_publish_to_snapshots.py 2012-04-18 08:17:18 +0000
4@@ -149,6 +149,9 @@
5 '-n', '1'])
6
7 self.publisher.validate_args(param)
8+ build_path = os.path.join(self.uploads_path, param.job_type, param.job_name,
9+ str(param.build_num))
10+ os.makedirs(build_path)
11 self.target_path = "./dummy_target_path"
12 try:
13 self.publisher.validate_paths(param, self.uploads_path, self.target_path)

Subscribers

People subscribed via source and target branches