コード例 #1
0
ファイル: test_enforce.py プロジェクト: st2sandbox/st2
 def mock_cast_string(x):
     assert x == data.NONE_MAGIC_VALUE
     return casts._cast_string(x)
コード例 #2
0
ファイル: test_enforce.py プロジェクト: st2sandbox/st2
 def mock_cast_string(x):
     assert x == "somevalue"
     return casts._cast_string(x)
コード例 #3
0
ファイル: test_enforce.py プロジェクト: E-LLP/st2
 def mock_cast_string(x):
     assert x == NONE_MAGIC_VALUE
     return casts._cast_string(x)
コード例 #4
0
 def mock_cast_string(x):
     assert x == 'somevalue'
     return casts._cast_string(x)
コード例 #5
0
ファイル: test_enforce.py プロジェクト: E-LLP/st2
 def mock_cast_string(x):
     assert x == 'somevalue'
     return casts._cast_string(x)