diff --git a/tests/modules/test_config.py b/tests/modules/test_config.py new file mode 100644 index 0000000..2da711f --- /dev/null +++ b/tests/modules/test_config.py @@ -0,0 +1,11 @@ +import bootstraparse.modules.config as config +import pytest + + +""" +""" + + +@pytest.mark.xfail(reason="Not implemented") +def test_config_load(): + assert config.load() is not None diff --git a/tests/modules/test_context_mngr.py b/tests/modules/test_context_mngr.py new file mode 100644 index 0000000..cdf0a31 --- /dev/null +++ b/tests/modules/test_context_mngr.py @@ -0,0 +1,7 @@ +import bootstraparse.modules.context_mngr as context_mngr +import pytest + + +@pytest.mark.xfail(reason="Not implemented yet") +def test_context_mngr_init(): + context_mngr.ContextManager() diff --git a/tests/modules/test_export.py b/tests/modules/test_export.py new file mode 100644 index 0000000..57a5aa1 --- /dev/null +++ b/tests/modules/test_export.py @@ -0,0 +1,7 @@ +import bootstraparse.modules.export as export +import pytest + + +@pytest.mark.xfail(reason="Not implemented") +def test_export(): + assert export.export() == "export" diff --git a/tests/modules/test_parser.py b/tests/modules/test_parser.py new file mode 100644 index 0000000..c1c57d9 --- /dev/null +++ b/tests/modules/test_parser.py @@ -0,0 +1,7 @@ +import bootstraparse.modules.parser as parser +import pytest + + +@pytest.mark.xfail(reason="Not implemented") +def test_parser(): + pass diff --git a/tests/modules/test_sitecrawler.py b/tests/modules/test_sitecrawler.py new file mode 100644 index 0000000..16a4ef8 --- /dev/null +++ b/tests/modules/test_sitecrawler.py @@ -0,0 +1,10 @@ +import bootstraparse.modules.sitecrawler as sitecrawler +import pytest + + +@pytest.mark.xfail(reason="Not implemented yet") +def test_sitecrawler_init(): + """ + Test the sitecrawler.SiteCrawler class + """ + pass diff --git a/tests/modules/test_sitecreator.py b/tests/modules/test_sitecreator.py new file mode 100644 index 0000000..dd59a47 --- /dev/null +++ b/tests/modules/test_sitecreator.py @@ -0,0 +1,16 @@ +import bootstraparse.modules.sitecreator as sitecreator +import pytest + + +def test_create_site(): + sitecreator.create_website() + sitecreator.create_environment() + sitecreator.create_config() + sitecreator.create_crawler() + sitecreator.create_user_config() + sitecreator.create_template() + sitecreator.env_checker() + sitecreator.begin_crawling(None) + sitecreator.begin_pre_parsing(None) + sitecreator.begin_parsing(None) + sitecreator.begin_export(None) diff --git a/tests/modules/test_syntax.py b/tests/modules/test_syntax.py new file mode 100644 index 0000000..c34d468 --- /dev/null +++ b/tests/modules/test_syntax.py @@ -0,0 +1,7 @@ +import bootstraparse.modules.syntax as syntax +import pytest + + +@pytest.mark.xfail(reason="Not implemented") +def test_syntax_check(): + assert syntax.syntax_check() == True diff --git a/tests/modules/test_template_mngr.py b/tests/modules/test_template_mngr.py new file mode 100644 index 0000000..436cc6f --- /dev/null +++ b/tests/modules/test_template_mngr.py @@ -0,0 +1,7 @@ +import bootstraparse.modules.template_mngr as template_mngr +import pytest + + +@pytest.mark.xfail(reason="Not implemented yet") +def test_get_template_path(): + assert template_mngr.get_template_path() is not None \ No newline at end of file