~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/tracker/schema/tracker/tests/test_testrank.py

  • Committer: Marc Tardif
  • Date: 2011-10-10 16:36:06 UTC
  • Revision ID: marc.tardif@canonical.com-20111010163606-b1d9pw4q8nl114oz
Fixed parsing of udevadm output.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
            (project, project_series_name,),
52
52
            ).get_one()[0]
53
53
 
54
 
        system_make = self.factory.getUniqueString(u"system-make")
55
54
        system_model = self.factory.getUniqueString(u"system-model")
56
55
        system = self.store.execute(
57
56
            "INSERT INTO system "
58
 
            "(make, model) "
59
 
            "VALUES (?, ?) RETURNING id",
60
 
            (system_make, system_model,),
 
57
            "(model) "
 
58
            "VALUES (?) RETURNING id",
 
59
            (system_model,),
61
60
            ).get_one()[0]
62
61
 
63
62
        system_identifiers = [