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