clean up the default markdown configuration a bit
this brings the config a bit closer to my default, and updates the expectations of a test accordingly
This commit is contained in:
parent
853a58b78b
commit
b3c3c0de45
@ -32,10 +32,9 @@ class Config(object):
|
||||
},
|
||||
}
|
||||
|
||||
MARKDOWN_EXTENSIONS = ['extra', 'sane_lists', 'smarty', 'tables']
|
||||
MARKDOWN_EXTENSIONS = ['extra', 'sane_lists', 'smarty', 'toc']
|
||||
MARKDOWN_EXTENSION_CONFIGS = {
|
||||
'extra': {
|
||||
'attr_list': {},
|
||||
'footnotes': {
|
||||
'UNIQUE_IDS': True,
|
||||
},
|
||||
|
@ -7,7 +7,7 @@ def test_page_that_exists(client):
|
||||
"""Test that the app can serve a basic file at the index."""
|
||||
response = client.get('/')
|
||||
assert response.status_code == 200
|
||||
assert b'<h1>test index</h1>' in response.data
|
||||
assert b'<h1 id="test-index">test index</h1>' in response.data
|
||||
|
||||
|
||||
def test_direct_file_that_exists(client):
|
||||
|
Loading…
Reference in New Issue
Block a user