"expected number of activities found in activity table for CID %s. Expected: %d, Actual %d"
%(cid,num_of_activ,num_of_rows)
)
elifnum_of_activ>100andnum_of_rows==100:
self.issue(
"Number of activities for CID %s is above 100. This is the max amount the table can display. The table is displaying 100 entries. Pagination is not supported by the script."
%cid
)
else:
self.failed(
"Number of activities is lower than expected for CID %s. Most likely didn't load properly Expected: %d, Actual %d"
%(cid,num_of_activ,num_of_rows)
)
deftest_all_hardcoded_contacts(self):
"""Loops self.test with all hardcoded contact ID's
UsingMP's as MP'sarepublicknowledgeandoftenhaveactivitieswithinthecrmsystem