# Path: app/serve.py
#     def init_rollbar() -> None:
# def inject_envs() -> Dict[str, Any]:
# def robots() -> Any:
# def health() -> Any:
# def page_not_found(e: Exception) -> Any:


import unittest
from urllib.parse import urlparse
from app import serve



class PageCase(unittest.TestCase):
    def setUp(self) -> None:
        serve.app.config['TESTING'] = True
        self.app = serve.app.test_client()

    def test_index_load(self) -> None:
        self.page_test('/', b'Albert Wang')

    def test_resume_load(self) -> None:
        self.page_test('/resume', b'R&eacute;sum&eacute;')

    def test_projects_load(self) -> None:
        self.page_test('/projects', b'Projects')

    def test_notes_load(self) -> None:
        self.page_test('/notes', b'Notes')


# Path: app/serve.py
#     def init_rollbar() -> None:
# def inject_envs() -> Dict[str, Any]:
# def robots() -> Any:
# def health() -> Any:
# def page_not_found(e: Exception) -> Any:


# Path: app/tests/test_serve.py
import unittest
from urllib.parse import urlparse
from app import serve




class PageCase(unittest.TestCase):
    def setUp(self) -> None:
        serve.app.config['TESTING'] = True
        self.app = serve.app.test_client()

    def test_index_load(self) -> None:
        self.page_test('/', b'Albert Wang')

    def test_resume_load(self) -> None:
        self.page_test('/resume', b'R&eacute;sum&eacute;')

    def test_projects_load(self) -> None:
        self.page_test('/projects', b'Projects')

    def test_notes_load(self) -> None:
        self.page_test('/notes', b'Notes')


    def test_shelf_load(self) -> None: