qal.common.tests package

Submodules

qal.common.tests.test_diff module

Created on Nov 3, 2013

@author: Nicklas Boerjesson

class qal.common.tests.test_diff.Diff_test(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_diff()[source]

Test comparison of two data sets, fetched from .csv files.

qal.common.tests.test_resources module

Tests for resources

copyright:Copyright 2010-2014 by Nicklas Boerjesson
license:BSD, see LICENSE for details.
class qal.common.tests.test_resources.Test(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_1_XML_parsing()[source]

qal.common.tests.test_strings module

Tests for parsing

copyright:Copyright 2010-2014 by Nicklas Boerjesson
license:BSD, see LICENSE for details.
class qal.common.tests.test_strings.Test(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_1_XML_parsing()[source]
test_2_empty_if_none()[source]
test_3_make_path_absolute()[source]

qal.common.tests.test_substitutions module

qal.common.tests.test_transform module

Created on Nov 3, 2013

@author: Nicklas Boerjesson

class qal.common.tests.test_transform.Transform_test(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_1_trim()[source]

Test trim transformation input/output and XML encoding/decoding

test_2_IfEmpty()[source]

Test trim transformation input/output and XML encoding/decoding

test_3_replace()[source]

Test replace transformation input/output and XML encoding/decoding

test_4_replace_regex()[source]

Test replace transformation input/output and XML encoding/decoding

test_5_cast()[source]

Test trim transformation input/output and XML encoding/decoding

Module contents

Tests for qal.common

copyright:Copyright 2010-2014 by Nicklas Boerjesson
license:BSD, see LICENSE for details.