mirror of
https://github.com/elisspace/core.git
synced 2026-10-05 16:56:19 +00:00
Don't connect to cloud if subscription expired (#11163)
* Final touch for cloud component * Fix test
This commit is contained in:
@@ -132,15 +132,6 @@ def test_write_user_info():
|
||||
}
|
||||
|
||||
|
||||
@asyncio.coroutine
|
||||
def test_subscription_not_expired_without_sub_in_claim():
|
||||
"""Test that we do not enforce subscriptions yet."""
|
||||
cl = cloud.Cloud(None, cloud.MODE_DEV)
|
||||
cl.id_token = jwt.encode({}, 'test')
|
||||
|
||||
assert not cl.subscription_expired
|
||||
|
||||
|
||||
@asyncio.coroutine
|
||||
def test_subscription_expired():
|
||||
"""Test subscription being expired."""
|
||||
|
||||
Reference in New Issue
Block a user