def test_index(self): blob = TextBlob(self.text) assert_equal(blob.index('Namespaces'), self.text.index('Namespaces'))