def url(self):
        """
        Query the article URL.

        Returns: str
        """

        return get_attr(self.xml, 'self-uri', 'xlink:href')
    def url(self):

        """
        Query the article URL.

        Returns: str
        """

        return get_attr(self.xml, 'self-uri', 'xlink:href')
def test_get_text(tag, value):
    tree = BeautifulSoup(tag, 'lxml')
    assert get_attr(tree, 'tag', 'attr') == value