Home | History | Annotate | Download | only in parsers

Lines Matching refs:job

22         self.god.stub_function(models.job, 'read_keyval')
23 self.god.stub_function(version_0.job, 'find_hostname')
42 models.job.read_keyval.expect_call('.').and_return(
45 job = version_0.job.load_from_dir('.')
46 self.assertEqual('janet', job['user'])
47 self.assertEqual('steeltown', job['label'])
48 self.assertEqual('abc123', job['machine'])
49 self.assertEqual('my_platform', job['machine_group'])
56 models.job.read_keyval.expect_call('.').and_return(raw_keyval)
61 version_0.job.find_hostname.expect_call('.').and_raises(
66 job = version_0.job.load_from_dir('.')
67 self.assertEqual('easyas,abc123', job['machine'])
68 self.assertEqual('platform', job['machine_group'])
75 version_0.job.find_hostname.expect_call('.').and_return('foo')
78 job = version_0.job.load_from_dir('.')
79 self.assertEqual('foo', job['machine'])
86 version_0.job.find_hostname.expect_call('.').and_raises(
91 job = version_0.job.load_from_dir('.')
92 self.assertEqual('easyas,abc123', job['machine'])
93 self.assertEqual('platformA,platformZ', job['machine_group'])
100 models.job.read_keyval.expect_call('.').and_return(raw_keyval)
102 job = version_0.job.load_from_dir('.')
103 self.assertEqual('janet', job['user'])
104 self.assertEqual('abc123', job['machine'])
113 models.job.read_keyval.expect_call('.').and_return(raw_keyval)
115 job = version_0.job.load_from_dir('.')
116 self.assertEqual('michael', job['user'])
119 self.assertEqual('jackson five', job['machine'])
127 models.job.read_keyval.expect_call('.').and_return(raw_keyval)
129 job = version_0.job.load_from_dir('.')
131 self.assertEqual('jackson five', job['machine'])