CSUChicoSoftwareEngineering/outbreak — pull request #27 by zysh (2014-09-26 23:36:37+00:00)
Title: Add's GeoIP to API + Python Unittests to integration framework

This change successfully adds geoip lookup to our flask restful API. The API can be played with like so:
0.0.0.0:5000/traceroute/

The response will look something like this:

{
"destinations": [
{
"city": "",
"country": "Reserved",
"ip": "1.1.1.1",
"lat": "0",
"lon": "0",
"region": ""
}
}

@Sigf If you see a Reserved keyword as the country, for now just ignore it.

In addition I've gotten unittests working. If you write python unittests they will be automatically discovered. I'm going to write a wiki article about different commands for testing.