Don't connect to cloud if subscription expired (#11163)
* Final touch for cloud component * Fix test
This commit is contained in:
1 parent
c4d71e934d
commit
b56675a7bb
4 files changed
+14
-25
No files matched your search
@@ -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