@property
    def numhosts(self):
        return int(self.broadcast) - int(self.network) + 1
Check we get ImproperlyConfigured if we don't pass a site object to
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/lib/ipaddr.py/_BaseNet.numhosts--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/sitemaps/tests/http.py/HTTPSitemapTests.test_sitemap_get_urls_no_site_1