Ejemplo n.º 1
0
 def test_attributes(self):
     '''
     Tests if specified group was added
     '''
     with patch('salt.modules.extfs.dump',
                 MagicMock(return_value={'attributes': {}, 'blocks': {}})):
         self.assertEqual({}, extfs.attributes('/dev/sda1'))
Ejemplo n.º 2
0
 def test_attributes(self):
     """
     Tests if specified group was added
     """
     with patch(
             "salt.modules.extfs.dump",
             MagicMock(return_value={
                 "attributes": {},
                 "blocks": {}
             }),
     ):
         self.assertEqual({}, extfs.attributes("/dev/sda1"))
Ejemplo n.º 3
0
 def test_attributes(self):
     '''
     Tests if specified group was added
     '''
     self.assertEqual({}, extfs.attributes('/dev/sda1'))
Ejemplo n.º 4
0
 def test_attributes(self):
     '''
     Tests if specified group was added
     '''
     self.assertEqual({}, extfs.attributes('/dev/sda1'))