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