def test_info(create_kmc_db):
    '\n    Test if some fields in object returned from Info are set properly.\n\n    '
    pattern = create_kmc_db
    kmc_file = _open_for_listing()
    info = kmc_file.Info()
    assert (info.kmer_length == pattern['kmer_len'])
    assert (info.mode == 0)
    assert (info.counter_size == 1)
    assert (info.signature_len == pattern['sig_len'])
    assert (info.min_count == 1)
    assert info.both_strands
    assert (info.total_kmers == len(pattern['kmers']))
Test if some fields in object returned from Info are set properly.
def test_info(create_kmc_db):
    '\n    \n\n    '
    pattern = create_kmc_db
    kmc_file = _open_for_listing()
    info = kmc_file.Info()
    assert (info.kmer_length == pattern['kmer_len'])
    assert (info.mode == 0)
    assert (info.counter_size == 1)
    assert (info.signature_len == pattern['sig_len'])
    assert (info.min_count == 1)
    assert info.both_strands
    assert (info.total_kmers == len(pattern['kmers']))