Lines Matching refs:state3
565 state3 = base_job.job_state()
566 state3.read_from_file('backing_file')
567 self.assertEqual('value1', state3.get('ns', 'var1'))
568 self.assertEqual('value2', state3.get('ns', 'var2'))
612 state3 = base_job.job_state()
613 state3.read_from_file('second_file')
614 self.assertEqual(0, state3.get('ns0', 'var0x'))
615 self.assertEqual(100, state3.get('ns0', 'var1x'))
628 state3 = base_job.job_state()
629 state3.read_from_file('first_file')
630 self.assertEqual(-10, state3.get('ns0', 'var0y'))
631 self.assertRaises(KeyError, state3.get, 'ns0', 'var1y')