lp:~pfalcon/linaro-license-protection/revamp-buildinfo-tests

Created by Paul Sokolovsky and last modified
Get this branch:
bzr branch lp:~pfalcon/linaro-license-protection/revamp-buildinfo-tests
Only Paul Sokolovsky can upload to this branch. If you are Paul Sokolovsky please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Paul Sokolovsky
Project:
linaro-license-protection
Status:
Merged

Recent revisions

163. By Paul Sokolovsky

Test separately for querying subdir access and access when no BUILD-INFO.txt.

Previous test_readFile_nonFile() was really confusing, there're two separate
cases to test for.

Also, make conclusions from previous wrong test patch due to presence of stray
BUILD-INFO.txt on local system: the real problem is not using actual dirs for
testdata, but trying to (ab)use source files directory as testdata: don't do
that, have each for its own purpose (source directory may contain arbitrary
files during development, but test corpus is just that).

162. By Paul Sokolovsky

Fix test_apply_to_dir: it is explicitly allowed to apply test to a dir.

BuildInfo class has code to handle that case.

161. By Paul Sokolovsky

Rename test_readFile_* -> test_apply_to_* to be up to date with semantics.

These tests no longer test just readFile() method, they test application
of BuildInfo class to a filesystem object. Also, if we test against
directory, call it such, and not "non-file", and add extra check that intended
name is indeed directory in the current dir.

160. By Paul Sokolovsky

Cleanup messages and make pep8 pass again.

159. By Paul Sokolovsky

Explicitly mention current version of the BUILD-INFO format.

And why do we have it at 0.1 still?

158. By Paul Sokolovsky

Confusing usage of "may" and "required", replace by "must".

According to source code.

157. By Georgy Redkozubov

[merge] Remove artifacts from upload dir

156. By Georgy Redkozubov

[merge] Added checks for empty BUILD-INFO.txt

155. By Georgy Redkozubov

[merge] Added check for BUILD-INFO.txt before publishing artifacts

154. By James Tunnicliffe

Merge in branch to create latest symlink for prebuilt job type

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~linaro-automation/linaro-license-protection/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers