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'))
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"))
def test_attributes(self): ''' Tests if specified group was added ''' self.assertEqual({}, extfs.attributes('/dev/sda1'))