def testContainsFragmentsReturnsFalseForStringWithoutFragment(): fragmentStr = 'https://gocardless.com/pricing/' assert not containsFragments(fragmentStr)
def testContainsFragmentsReturnsTrueForStringWithFragment(): fragmentStr = 'https://gocardless.com/#learn-more' assert containsFragments(fragmentStr)