Exemple #1
0
 def run(self, command):
     return Utils.run(self.getName(), self.user, command)
 def test_ssh(self):
     output = Utils.run('aws-devbox-root', 'root', 'uname -a')
     self.assertEqual(
         output,
         'Linux aws-devbox 4.1.10-17.31.amzn1.x86_64 #1 SMP Sat Oct 24 01:31:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux'
     )
Exemple #3
0
	def run(self, command):
		return Utils.run(self.getName(), self.user, command)
Exemple #4
0
	def test_ssh(self):
		output = Utils.run('aws-devbox-root', 'root', 'uname -a')
		self.assertEqual(output, 'Linux aws-devbox 4.1.10-17.31.amzn1.x86_64 #1 SMP Sat Oct 24 01:31:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux')