Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 3
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)