update test: dont return command output by default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								ab1d3d16f1
							
						
					
				
			
			
				commit
				
					
						86cb65cd9c
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -92,7 +92,7 @@ class RemoteTestCase(unittest.TestCase):
 | 
				
			||||||
        fd = open(script, "w")
 | 
					        fd = open(script, "w")
 | 
				
			||||||
        fd.writelines(["#!/bin/sh\n", "echo foobar"])
 | 
					        fd.writelines(["#!/bin/sh\n", "echo foobar"])
 | 
				
			||||||
        fd.close()
 | 
					        fd.close()
 | 
				
			||||||
        self.assertEqual(self.remote.run_script(script), "foobar\n")
 | 
					        self.assertEqual(self.remote.run_script(script, return_output=True), "foobar\n")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_mkdir(self):
 | 
					    def test_mkdir(self):
 | 
				
			||||||
        temp_dir = self.mkdtemp(dir=self.temp_dir)
 | 
					        temp_dir = self.mkdtemp(dir=self.temp_dir)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue