# Path: pycounter/report.py
# class CounterReport:
# class CounterEresource:
# class CounterJournal(CounterEresource):
# class CounterBook(CounterEresource):
# class CounterDatabase(CounterEresource):
# class CounterPlatform(CounterEresource):
#     def __init__(
#         self,
#         report_type=None,
#         report_version=4,
#         metric=None,
#         customer=None,
#         institutional_identifier=None,
#         period=(None, None),
#         date_run=None,
#         section_type=None,
#     ):
#     def __repr__(self):
#     def __iter__(self):
#     def write_to_file(self, path, format_):
#     def write_tsv(self, path):
#     def as_generic(self):
#     def _totals_lines(self):
#     def _totals_line(self, metric):
#     def _table_header(self):
#     def _ensure_required_metrics(self):
#     def __init__(
#         self,
#         period=None,
#         metric=None,
#         month_data=None,
#         title="",
#         platform="",
#         publisher="",
#     ):
#     def __iter__(self):
#     def _fill_months(self):
#     def __init__(
#         self,
#         period=None,
#         metric=METRICS["JR1"],
#         issn=None,
#         eissn=None,
#         month_data=None,
#         title="",
#         platform="",
#         publisher="",
#         html_total=0,
#         pdf_total=0,
#         doi="",
#         proprietary_id="",
#     ):
#     def __repr__(self):  # pragma: nocover
#     def as_generic(self):
#     def __init__(
#         self,
#         period=None,
#         metric=None,
#         month_data=None,
#         title="",
#         platform="",
#         publisher="",
#         isbn=None,
#         issn=None,
#         doi="",
#         proprietary_id="",
#         print_isbn=None,
#         online_isbn=None,
#     ):
#     def __repr__(self):
#     def isbn(self):
#     def as_generic(self):
#     def __init__(
#         self,
#         period=None,
#         metric=None,
#         month_data=None,
#         title="",
#         platform="",
#         publisher="",
#     ):
#     def as_generic(self):
#     def __init__(
#         self, period=None, metric=None, month_data=None, platform="", publisher=""
#     ):
#     def as_generic(self):
# def parse(filename, filetype=None, encoding="utf-8", fallback_encoding="latin-1"):
# def parse_xlsx(filename):
# def parse_separated(filename, delimiter, encoding="utf-8", fallback_encoding="latin-1"):
# def parse_generic(report_reader):
# def _parse_line(line, report, last_col):
# def _get_type_and_version(specifier):
# def _get_c5_type_and_version(second_line, third_line):
# def _year_from_header(header, report):


import datetime
from pycounter import report
"""Tests regarding instantiating classes"""




def test_counter_journal():
    journal = report.CounterJournal()
    assert journal.issn == ""


def test_report_gaps():

# Path: pycounter/report.py
# class CounterReport:
# class CounterEresource:
# class CounterJournal(CounterEresource):
# class CounterBook(CounterEresource):
# class CounterDatabase(CounterEresource):
# class CounterPlatform(CounterEresource):
#     def __init__(
#         self,
#         report_type=None,
#         report_version=4,
#         metric=None,
#         customer=None,
#         institutional_identifier=None,
#         period=(None, None),
#         date_run=None,
#         section_type=None,
#     ):
#     def __repr__(self):
#     def __iter__(self):
#     def write_to_file(self, path, format_):
#     def write_tsv(self, path):
#     def as_generic(self):
#     def _totals_lines(self):
#     def _totals_line(self, metric):
#     def _table_header(self):
#     def _ensure_required_metrics(self):
#     def __init__(
#         self,
#         period=None,
#         metric=None,
#         month_data=None,
#         title="",
#         platform="",
#         publisher="",
#     ):
#     def __iter__(self):
#     def _fill_months(self):
#     def __init__(
#         self,
#         period=None,
#         metric=METRICS["JR1"],
#         issn=None,
#         eissn=None,
#         month_data=None,
#         title="",
#         platform="",
#         publisher="",
#         html_total=0,
#         pdf_total=0,
#         doi="",
#         proprietary_id="",
#     ):
#     def __repr__(self):  # pragma: nocover
#     def as_generic(self):
#     def __init__(
#         self,
#         period=None,
#         metric=None,
#         month_data=None,
#         title="",
#         platform="",
#         publisher="",
#         isbn=None,
#         issn=None,
#         doi="",
#         proprietary_id="",
#         print_isbn=None,
#         online_isbn=None,
#     ):
#     def __repr__(self):
#     def isbn(self):
#     def as_generic(self):
#     def __init__(
#         self,
#         period=None,
#         metric=None,
#         month_data=None,
#         title="",
#         platform="",
#         publisher="",
#     ):
#     def as_generic(self):
#     def __init__(
#         self, period=None, metric=None, month_data=None, platform="", publisher=""
#     ):
#     def as_generic(self):
# def parse(filename, filetype=None, encoding="utf-8", fallback_encoding="latin-1"):
# def parse_xlsx(filename):
# def parse_separated(filename, delimiter, encoding="utf-8", fallback_encoding="latin-1"):
# def parse_generic(report_reader):
# def _parse_line(line, report, last_col):
# def _get_type_and_version(specifier):
# def _get_c5_type_and_version(second_line, third_line):
# def _year_from_header(header, report):


# Path: pycounter/test/test_classes.py
import datetime
from pycounter import report

"""Tests regarding instantiating classes"""




def test_counter_journal():
    journal = report.CounterJournal()
    assert journal.issn == ""


def test_report_gaps():

    journal = report.CounterJournal(