Exemple #1
0
 def setUp(self):
     super(_ScmTest, self).setUp()
     scunch._setUpEncoding()
Exemple #2
0
 def setUp(self):
     scunch._setUpEncoding()
Exemple #3
0
 def testRunWithUmlautEcho(self):
     scunch._setUpEncoding()
     scunch.run([u"echo", u'h\xe4ll\xf6'])
Exemple #4
0
 def testRunWithUmlautEchoResult(self):
     scunch._setUpEncoding()
     hello = u'h\xe4ll\xf6'
     helloWithUmlauts = scunch.run([u'echo', hello], returnStdout=True)
     normalizedHelloPy = [unicodedata.normalize(scunch._consoleNormalization, hello)]
     self.assertEqual(helloWithUmlauts, normalizedHelloPy)
Exemple #5
0
 def testRunWithAsciiEcho(self):
     scunch._setUpEncoding()
     scunch.run([u"echo", u"hello"])