コード例 #1
0
 def test_pack(self):
     """
     Test for Pack up a directory structure, into a specific format
     """
     with patch.object(genesis, "_tar", return_value="tar"):
         self.assertEqual(genesis.pack("name", "root"), None)
コード例 #2
0
 def test_pack(self):
     '''
     Test for Pack up a directory structure, into a specific format
     '''
     with patch.object(genesis, '_tar', return_value='tar'):
         self.assertEqual(genesis.pack('name', 'root'), None)
コード例 #3
0
ファイル: genesis_test.py プロジェクト: DaveQB/salt
 def test_pack(self):
     '''
     Test for Pack up a directory structure, into a specific format
     '''
     with patch.object(genesis, '_tar', return_value='tar'):
         self.assertEqual(genesis.pack('name', 'root'), None)