Пример #1
0
 def test_something():
     assert slash.get_current_scope() == 'test'
Пример #2
0
 def session_validation():
     assert slash.get_current_scope() == 'session'
Пример #3
0
 def _no_scope():
     assert slash.get_current_scope() is None
Пример #4
0
 def _validate_current_scope(expected_scope):
     assert slash.get_current_scope() == expected_scope