~linaro-validation/lava-test/trunk

« back to all changes in this revision

Viewing changes to tests/test_swprofile.py

  • Committer: Paul Larson
  • Date: 2010-08-10 20:24:26 UTC
  • mfrom: (21.1.3 hwsw)
  • Revision ID: paul.larson@canonical.com-20100810202426-zkz0l42nfp7ztjr4
Add sw/hw profile information to test runs and make abrek more compliant
with what the dashboard will expect

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        self.testpackage = Package('testpkg', '7.77')
27
27
        self.cache = AptCache([self.testpackage])
28
28
 
29
 
    def make_profile(self, test_id='unit', cache=None, info=None):
 
29
    def make_profile(self, cache=None, info=None):
30
30
        if cache == None:
31
31
            cache = self.cache
32
32
        if info == None:
33
33
            info = self.lsb_information
34
 
        return abrek.swprofile.get_sw_context(test_id, apt_cache=cache,
 
34
        return abrek.swprofile.get_sw_context(apt_cache=cache,
35
35
                lsb_information=info)
36
36
 
37
37
    def test_pkg_name(self):