mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Style updates
This commit is contained in:
@@ -169,12 +169,14 @@ def test_format_delta():
|
|||||||
naive_now_utc = datetime.utcnow().isoformat()
|
naive_now_utc = datetime.utcnow().isoformat()
|
||||||
assert format_delta(naive_now_utc) == "just now"
|
assert format_delta(naive_now_utc) == "just now"
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures("fake_jinja_template")
|
@pytest.mark.usefixtures("fake_jinja_template")
|
||||||
def test_jinja_format(fake_jinja_template):
|
def test_jinja_format(fake_jinja_template):
|
||||||
app = Flask("app")
|
app = Flask("app")
|
||||||
with app.app_context():
|
with app.app_context():
|
||||||
assert convert_markdown_template(fake_jinja_template, test=True) == "<p>True</p>"
|
assert convert_markdown_template(fake_jinja_template, test=True) == "<p>True</p>"
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures("fake_markdown_file")
|
@pytest.mark.usefixtures("fake_markdown_file")
|
||||||
def test_markdown_format(fake_markdown_file):
|
def test_markdown_format(fake_markdown_file):
|
||||||
app = Flask("app")
|
app = Flask("app")
|
||||||
|
|||||||
Reference in New Issue
Block a user