def test_add(self): ''' Test if it add a devices to a BTRFS filesystem. ''' with patch('salt.modules.btrfs._restripe', MagicMock(return_value={})): self.assertDictEqual( btrfs.add('/mountpoint', '/dev/sda1', '/dev/sda2'), {})
def test_add(self): """ Test if it add a devices to a BTRFS filesystem. """ with patch("salt.modules.btrfs._restripe", MagicMock(return_value={})): self.assertDictEqual( btrfs.add("/mountpoint", "/dev/sda1", "/dev/sda2"), {})
def test_add(self): ''' Test if it add a devices to a BTRFS filesystem. ''' self.assertDictEqual(btrfs.add('/mountpoint', '/dev/sda1', '/dev/sda2'), {})
def test_add(self): ''' Test if it add a devices to a BTRFS filesystem. ''' self.assertDictEqual( btrfs.add('/mountpoint', '/dev/sda1', '/dev/sda2'), {})