コード例 #1
0
 def test_register(self):
     expect(expect.matcher('not_eq')) == NotEqual
     expect(expect.matcher('ne')) == NotEqual
     expect(expect.matcher('__ne__')) == NotEqual
コード例 #2
0
 def test_register(self):
     expect(expect.matcher('equal')) == Identical
コード例 #3
0
 def test_register(self):
     expect(expect.matcher('string')) == String
コード例 #4
0
 def test_register(self):
     expect(expect.matcher('float')) == Float
コード例 #5
0
ファイル: test_regexp.py プロジェクト: taoenator/robber.py
 def test_register(self):
     expect(expect.matcher('not_match')) == NotMatch
コード例 #6
0
ファイル: test_contain.py プロジェクト: taoenator/robber.py
 def test_register(self):
     expect(expect.matcher('contain')) == Contain
コード例 #7
0
ファイル: test_numbers.py プロジェクト: tlc28/robber.py
 def test_register(self):
     expect(expect.matcher('change')) == Change
コード例 #8
0
 def test_register(self):
     expect(expect.matcher('empty')) == Empty
コード例 #9
0
 def test_register(self):
     expect(expect.matcher('truthy')) == Truthy
コード例 #10
0
 def test_register(self):
     expect(expect.matcher('falsy')) == Falsy
コード例 #11
0
ファイル: test_respond_to.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('respond_to')) == RespondTo
コード例 #12
0
 def test_register(self):
     expect(expect.matcher('called_once_with')) == CalledOnceWith
コード例 #13
0
ファイル: test_contain.py プロジェクト: taoenator/robber.py
 def test_register(self):
     expect(expect.matcher('not_contain')) == NotContain
コード例 #14
0
ファイル: test_truthy.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('falsy')) == Falsy
コード例 #15
0
ファイル: test_identical.py プロジェクト: taoenator/robber.py
 def test_register(self):
     expect(expect.matcher("not_equal")) == NotIdentical
コード例 #16
0
ファイル: test_expect.py プロジェクト: tlc28/robber.py
 def test_it_can_return_matcher(self):
     expect.register('test_matcher', TestMatcher)
     matcher = expect.matcher('test_matcher')
     expect(matcher) == TestMatcher
コード例 #17
0
 def test_register(self):
     expect(expect.matcher('above')) == Above
コード例 #18
0
 def test_register(self):
     expect(expect.matcher('called')) == Called
コード例 #19
0
 def test_register(self):
     expect(expect.matcher('below')) == Below
コード例 #20
0
ファイル: test_equal.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('eq')) == Equal
     expect(expect.matcher('__eq__')) == Equal
コード例 #21
0
 def test_register(self):
     expect(expect.matcher('within')) == Within
コード例 #22
0
 def test_register(self):
     expect(expect.matcher('none')) == Non
コード例 #23
0
 def test_register(self):
     expect(expect.matcher('throw')) == ExceptionMatcher
コード例 #24
0
 def test_register(self):
     expect(expect.matcher('integer')) == Integer
コード例 #25
0
 def test_register(self):
     expect(expect.matcher('throw_exactly')) == ExactExceptionMatcher
コード例 #26
0
 def test_register(self):
     expect(expect.matcher('eq')) == Equal
     expect(expect.matcher('__eq__')) == Equal
コード例 #27
0
 def test_register(self):
     expect(expect.matcher('instanceof')) == Instanceof
コード例 #28
0
ファイル: test_regexp.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('not_match')) == NotMatch
コード例 #29
0
ファイル: test_numbers.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('above')) == Above
コード例 #30
0
ファイル: test_truthy.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('truthy')) == Truthy
コード例 #31
0
ファイル: test_numbers.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('below')) == Below
コード例 #32
0
ファイル: test_regexp.py プロジェクト: vesln/robber.py
 def test_register(self):
     expect(expect.matcher('match')) == Match
コード例 #33
0
ファイル: test_numbers.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('within')) == Within
コード例 #34
0
 def test_register(self):
     expect(expect.matcher('length')) == Length
コード例 #35
0
 def test_register(self):
     expect(expect.matcher('ever_called_with')) == EverCalledWith
     expect(expect.matcher('any_call')) == EverCalledWith
コード例 #36
0
 def test_register(self):
     expect(expect.matcher('not_empty')) == NotEmpty
コード例 #37
0
 def test_register(self):
     expect(expect.matcher('list')) == List
コード例 #38
0
ファイル: test_regexp.py プロジェクト: taoenator/robber.py
 def test_register(self):
     expect(expect.matcher('match')) == Match
コード例 #39
0
 def test_register(self):
     expect(expect.matcher('dict')) == Dict
コード例 #40
0
ファイル: test_instanceof.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('instanceof')) == Instanceof
コード例 #41
0
 def test_register(self):
     expect(expect.matcher('tuple')) == Tuple
コード例 #42
0
ファイル: test_equal.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('not_eq')) == NotEqual
     expect(expect.matcher('ne')) == NotEqual
     expect(expect.matcher('__ne__')) == NotEqual
コード例 #43
0
ファイル: test_contain.py プロジェクト: rlgomes/robber.py
 def test_register(self):
     expect(expect.matcher('not_contain')) == NotContain