berhoel.ctitools.cti2bibtex.tests namespace

Submodules

berhoel.ctitools.cti2bibtex.tests.test_base module

Basic tests for generating BibTex entries from c’t and iX articles.

berhoel.ctitools.cti2bibtex.tests.test_base.test_with_shorttitle() None[source]

Test correct generation of BiBTeX file entry.

berhoel.ctitools.cti2bibtex.tests.test_base.test_without_shorttitle() None[source]

Test correct generation of BiBTeX file entry.

berhoel.ctitools.cti2bibtex.tests.test_generate module

Check generation of BibTex output.

berhoel.ctitools.cti2bibtex.tests.test_generate.bibtex_entry_1(cti_entry_1: CTIEntry) BiBTeXEntry[source]

Provide test item for BibTeXEntry.

Param:

CTIEntry to convert

Returns:

Sample entry

berhoel.ctitools.cti2bibtex.tests.test_generate.bibtex_entry_2(cti_entry_2: CTIEntry) BiBTeXEntry[source]

Provide test item for BibTeXEntry.

Param:

CTIEntry to convert

Returns:

Sample entry

berhoel.ctitools.cti2bibtex.tests.test_generate.cti_entry_1() CTIEntry[source]

Provide test item for CTIEntry.

Returns:

Sample entry

berhoel.ctitools.cti2bibtex.tests.test_generate.cti_entry_2() CTIEntry[source]

Provide test item for CTIEntry.

Returns:

Sample entry

berhoel.ctitools.cti2bibtex.tests.test_generate.test_autor_enty_1(bibtex_entry_1: BiBTeXEntry) None[source]

Test correct generation of BiBTeX file entry.

Param:

BiBTeXEntry to check

berhoel.ctitools.cti2bibtex.tests.test_generate.test_autor_enty_2(bibtex_entry_2: BiBTeXEntry) None[source]

Test correct generation of BiBTeX file entry.

Param:

BiBTeXEntry to check