Merge lp:~pwlars/qa-iso-static-validation-test/remove-oversize-test into lp:qa-iso-static-validation-test

Proposed by Paul Larson
Status: Merged
Approved by: Para Siva
Approved revision: 20
Merged at revision: 20
Proposed branch: lp:~pwlars/qa-iso-static-validation-test/remove-oversize-test
Merge into: lp:qa-iso-static-validation-test
Diff against target: 22 lines (+0/-12)
1 file modified
iso_static_validation.py (+0/-12)
To merge this branch: bzr merge lp:~pwlars/qa-iso-static-validation-test/remove-oversize-test
Reviewer Review Type Date Requested Status
Para Siva Approve
Review via email: mp+136990@code.launchpad.net

Description of the change

Remove oversize image test

To post a comment you must log in.
Revision history for this message
Para Siva (psivaa) wrote :

Looks good to me as you said it's recently become redundant. Thanks for doing it.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'iso_static_validation.py'
2--- iso_static_validation.py 2012-09-21 22:09:01 +0000
3+++ iso_static_validation.py 2012-11-29 16:57:23 +0000
4@@ -394,18 +394,6 @@
5 for uninst_pkg in uninst_pkgs:
6 self.assertIn(uninst_pkg.rstrip(), fh_probs_page)
7
8- # Test if the size of the image fits a 700MB disc
9- def test_size(self):
10- statinfo = os.stat(self.iso_location)
11-
12- if(self.st_release == 'precise'):
13- # check if the size of the image fits a 703MB cd for precise
14- self.assertTrue(statinfo.st_size < self.PRECISE_SIZE_LIMIT_MB,
15- "Size: %s" % (statinfo.st_size))
16- else:
17- # check if the size of the image fits a 800MB cd for quantal
18- self.assertTrue(statinfo.st_size < self.QUANTAL_SIZE_LIMIT_MB,
19- "Size: %s" % (statinfo.st_size))
20
21 # clean up
22 @classmethod

Subscribers

People subscribed via source and target branches

to all changes: