expects icon indicating copy to clipboard operation
expects copied to clipboard

About contain and count

Open reinaldorossetti opened this issue 7 years ago • 0 comments

Do you have Matcher the number of repeated times: Sample:

list = [1,23,4,5,6,7,4] count = 0 for x in list: if x==4: count+=1

print(count)

like it's like this: expect(list).to(contain(4),count(2))

reinaldorossetti avatar Feb 10 '18 16:02 reinaldorossetti