Logo Search packages:      
Sourcecode: ubuntuone-file-storage-api version File versions  Download package

def ubuntuone::filestorageapi::tests::test_volumes::VolumesTestCase::test_from_dict_invalid_type (   self )
InvalidVolumeDictError is raised if invalid type is given.

Definition at line 249 of file test_volumes.py.

                                         :
        """InvalidVolumeDictError is raised if invalid type is given."""
        self.assertRaises(volumes.InvalidVolumeDictError,
                          volumes.Volume.from_dict, None, {'type': 'foo'})


Generated by  Doxygen 1.6.0   Back to index