def test_not_implemented_plugin(self):
        auth = authinfo.ApiAuth("username", "password")
        hostname = "hostname"
        plugin = dnsupdater.DnsUpdaterPlugin(auth, hostname)
        try:
            plugin.update_dns("10.1.1.1")
            self.fail("Not implemented plugin should fail: "
                      "'NoneType' object has no attribute 'format'")
        except __HOLE__ as e:
            self.assertEqual(str(e), "'NoneType' object has no attribute "
                                     "'format'",
                             "_get_base_url() should return 'NoneType'")
        except Exception as e:
            self.fail("_get_base_url() should return 'AttributeError'. "
                      "Got %s:%s" % (type(e).__name__, e))
dataset/ETHPy150Open pv8/noipy/test/test_noipy.py/GeneralTest.test_not_implemented_plugin