Esempio n. 1
0
 def test_something():
     assert slash.get_current_scope() == 'test'
Esempio n. 2
0
 def session_validation():
     assert slash.get_current_scope() == 'session'
Esempio n. 3
0
 def _no_scope():
     assert slash.get_current_scope() is None
Esempio n. 4
0
 def _validate_current_scope(expected_scope):
     assert slash.get_current_scope() == expected_scope