def assertStartsWith(self, s, prefix):
    '\n        Assert that C{s} starts with a particular C{prefix}.\n\n        @param s: The input string.\n        @type s: C{str}\n        @param prefix: The string that C{s} should start with.\n        @type prefix: C{str}\n        '
    self.assertTrue(s.startswith(prefix), ('%r is not the start of %r' % (prefix, s)))
Assert that C{s} starts with a particular C{prefix}.

@param s: The input string.
@type s: C{str}
@param prefix: The string that C{s} should start with.
@type prefix: C{str}
def assertStartsWith(self, s, prefix):
    '\n        Assert that C{s} starts with a particular C{prefix}.\n\n        @param s: The input string.\n        @type s: C{str}\n        @param prefix: The string that C{s} should start with.\n        @type prefix: C{str}\n        '
    self.assertTrue(s.startswith(prefix), ('%r is not the start of %r' % (prefix, s)))