expects
expects copied to clipboard
About contain and count
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))