diff --git a/incorporealcms/config.py b/incorporealcms/config.py
index 7e8ee0a..7293431 100644
--- a/incorporealcms/config.py
+++ b/incorporealcms/config.py
@@ -52,7 +52,7 @@ class Config(object):
# customizations
DEFAULT_PAGE_STYLE = 'light'
- TITLE_SUFFIX = 'incorporeal.org'
- CONTACT_EMAIL = 'bss@incorporeal.org'
+ TITLE_SUFFIX = 'example.com'
+ CONTACT_EMAIL = 'admin@example.com'
- # specify FAVICON in your instance config.py to override the suou icon
+ # specify FAVICON in your instance config.py to override the provided icon
diff --git a/tests/functional_tests.py b/tests/functional_tests.py
index 1271ebe..6ccd58c 100644
--- a/tests/functional_tests.py
+++ b/tests/functional_tests.py
@@ -23,7 +23,7 @@ def test_page_that_doesnt_exist(client):
assert response.status_code == 404
assert b'/ohuesthaoeusth does not seem to exist' in response.data
# test the contact email config
- assert b'bss@incorporeal.org' in response.data
+ assert b'admin@example.com' in response.data
def test_files_outside_pages_do_not_get_served(client):
@@ -39,7 +39,7 @@ def test_internal_server_error_serves_error_page(client):
assert response.status_code == 500
assert b'INTERNAL SERVER ERROR' in response.data
# test the contact email config
- assert b'bss@incorporeal.org' in response.data
+ assert b'admin@example.com' in response.data
def test_oserror_is_500(client, app):
@@ -70,28 +70,28 @@ def test_page_with_title_metadata(client):
"""Test that a page with title metadata has its title written."""
response = client.get('/')
assert response.status_code == 200
- assert b'
Index - incorporeal.org' in response.data
+ assert b'Index - example.com' in response.data
def test_page_without_title_metadata(client):
"""Test that a page without title metadata gets the default title."""
response = client.get('/no-title')
assert response.status_code == 200
- assert b'/no-title - incorporeal.org' in response.data
+ assert b'/no-title - example.com' in response.data
def test_page_in_subdir_without_title_metadata(client):
"""Test that the title-less page display is as expected."""
response = client.get('/subdir//page-no-title')
assert response.status_code == 200
- assert b'/subdir/page-no-title - incorporeal.org' in response.data
+ assert b'/subdir/page-no-title - example.com' in response.data
def test_page_with_card_metadata(client):
"""Test that a page with opengraph metadata."""
response = client.get('/more-metadata')
assert response.status_code == 200
- assert b'' in response.data
+ assert b'' in response.data
assert b'' in response.data
assert b'' in response.data
@@ -100,7 +100,7 @@ def test_page_with_card_title_even_when_no_metadata(client):
"""Test that a page without metadata still has a card with the derived title."""
response = client.get('/no-title')
assert response.status_code == 200
- assert b'' in response.data
+ assert b'' in response.data
assert b'incorporeal.org' in response.data
+ assert b'example.com' in response.data
def test_page_with_redirect_meta_url_redirects(client):
diff --git a/tests/test_factory.py b/tests/test_factory.py
index fbd605a..6b0e617 100644
--- a/tests/test_factory.py
+++ b/tests/test_factory.py
@@ -20,7 +20,7 @@ def test_markdown_meta_extension_always():
client = app.test_client()
response = client.get('/')
assert response.status_code == 200
- assert b'Index - incorporeal.org' in response.data
+ assert b'Index - example.com' in response.data
def test_custom_markdown_extensions_work():
diff --git a/tests/test_pages.py b/tests/test_pages.py
index 839ffe3..410e34e 100644
--- a/tests/test_pages.py
+++ b/tests/test_pages.py
@@ -9,19 +9,19 @@ from incorporealcms.pages import (generate_parent_navs, instance_resource_path_t
def test_generate_page_navs_index(app):
"""Test that the index page has navs to the root (itself)."""
with app.app_context():
- assert generate_parent_navs('pages/index.md') == [('incorporeal.org', '/')]
+ assert generate_parent_navs('pages/index.md') == [('example.com', '/')]
def test_generate_page_navs_subdir_index(app):
"""Test that dir pages have navs to the root and themselves."""
with app.app_context():
- assert generate_parent_navs('pages/subdir/index.md') == [('incorporeal.org', '/'), ('subdir', '/subdir/')]
+ assert generate_parent_navs('pages/subdir/index.md') == [('example.com', '/'), ('subdir', '/subdir/')]
def test_generate_page_navs_subdir_real_page(app):
"""Test that real pages have navs to the root, their parent, and themselves."""
with app.app_context():
- assert generate_parent_navs('pages/subdir/page.md') == [('incorporeal.org', '/'), ('subdir', '/subdir/'),
+ assert generate_parent_navs('pages/subdir/page.md') == [('example.com', '/'), ('subdir', '/subdir/'),
('Page', '/subdir/page')]
@@ -29,7 +29,7 @@ def test_generate_page_navs_subdir_with_title_parsing_real_page(app):
"""Test that title metadata is used in the nav text."""
with app.app_context():
assert generate_parent_navs('pages/subdir-with-title/page.md') == [
- ('incorporeal.org', '/'),
+ ('example.com', '/'),
('SUB!', '/subdir-with-title/'),
('page', '/subdir-with-title/page')
]
@@ -39,7 +39,7 @@ def test_generate_page_navs_subdir_with_no_index(app):
"""Test that breadcrumbs still generate even if a subdir doesn't have an index.md."""
with app.app_context():
assert generate_parent_navs('pages/no-index-dir/page.md') == [
- ('incorporeal.org', '/'),
+ ('example.com', '/'),
('/no-index-dir/', '/no-index-dir/'),
('page', '/no-index-dir/page')
]