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
=== modified file 'testing/test_publish_to_snapshots.py'
--- testing/test_publish_to_snapshots.py 2012-04-17 09:23:05 +0000
+++ testing/test_publish_to_snapshots.py 2012-04-18 08:17:18 +0000
@@ -149,6 +149,9 @@
149 '-n', '1'])149 '-n', '1'])
150150
151 self.publisher.validate_args(param)151 self.publisher.validate_args(param)
152 build_path = os.path.join(self.uploads_path, param.job_type, param.job_name,
153 str(param.build_num))
154 os.makedirs(build_path)
152 self.target_path = "./dummy_target_path"155 self.target_path = "./dummy_target_path"
153 try:156 try:
154 self.publisher.validate_paths(param, self.uploads_path, self.target_path)157 self.publisher.validate_paths(param, self.uploads_path, self.target_path)

Subscribers

People subscribed via source and target branches