import GeoIP
from nose.tools import assert_equal


def test_org():
    gi = GeoIP.open("tests/data/GeoIPOrg.dat", GeoIP.GEOIP_STANDARD)

    assert_equal(gi.org_by_addr("192.168.3.11"), 'AT&T Worldnet Services')

import GeoIP
from nose.tools import assert_equal


def test_org():
    gi = GeoIP.open("tests/data/GeoIPOrg.dat", GeoIP.GEOIP_STANDARD)

    assert_equal(gi.org_by_addr("192.168.3.11"), 'AT&T Worldnet Services')
