safe.test.test_defaults module

Unit tests for the defaults module.

class safe.test.test_defaults.TestDefaults(methodName='runTest')[source]

Bases: unittest.case.TestCase

Tests for working with the defaults module.

setUp()[source]

Test setup.

tearDown()[source]

Test tear down.

test_black_inasafe_logo_path()[source]

Verify the call to default InaSAFE logo path works.

test_default_north_arrow_path()[source]

Verify the call to default north arrow path works.

test_disclaimer()[source]

Verify the disclaimer works.

This text will probably change a lot so just test to ensure it is not empty.

test_get_defaults()[source]

Test we can get the defaults.

test_supporters_logo_path()[source]

Verify the call to default supporters logo path works.

test_white_inasafe_logo_path()[source]

Verify the call to default InaSAFE logo path works.