safe.metadata.test.test_metadata module

InaSAFE Disaster risk assessment tool developed by AusAid - Exception Classes.

Custom exception classes for the IS application.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class safe.metadata.test.test_metadata.TestMetadata(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_insert_xml_element()[source]

Check we can’t insert custom nested elements

test_metadata()[source]

Check we can’t instantiate with unsupported xml types

test_no_BaseMeta_instantiation()[source]

check that we can’t instantiate abstract class BaseMetadata with abstract methods