mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
json api for provider overview
This commit is contained in:
@@ -10,7 +10,7 @@ def test_provider_info_from_email():
|
||||
assert example.name == "Example"
|
||||
assert example.markdown == "\n..."
|
||||
assert example.status_date == "2018-09"
|
||||
assert example.status == const.DC_PROVIDER_STATUS_PREPARATION
|
||||
assert example.status == "PREPARATION"
|
||||
|
||||
|
||||
def test_provider_info_from_domain():
|
||||
@@ -19,7 +19,7 @@ def test_provider_info_from_domain():
|
||||
assert example.name == "Example"
|
||||
assert example.markdown == "\n..."
|
||||
assert example.status_date == "2018-09"
|
||||
assert example.status == const.DC_PROVIDER_STATUS_PREPARATION
|
||||
assert example.status == "PREPARATION"
|
||||
|
||||
|
||||
def test_provider_info_none():
|
||||
|
||||
Reference in New Issue
Block a user