Пример #1
0
 def test_cS_AND_cSr(self):
     self.init_hkshell()
     hkshell.sSr(0, 'su')
     self.assertEquals(self.subjects(), ['su','su','su','su',''])
     hkshell.cS(2)
     self.assertEquals(self.subjects(), ['su','su','Su','su',''])
     hkshell.cSr(0)
     self.assertEquals(self.subjects(), ['Su','Su','Su','Su',''])
Пример #2
0
 def test_sSr(self):
     self.init_hkshell()
     self.clear_subjects()
     hkshell.sSr(1, 's')
     self.assertEqual(self.subjects(), ['', 's', 's', '', ''])