def test_create_host():
    moga = Admin(TRACKERS)
    try:
        moga.create_host('testhost', '192.168.0.1', 7500)
        moga.update_host('testhost', port=7501, status='alive')
    finally:
        moga.delete_host('testhost')
def test_create_host():
    moga = Admin(TRACKERS)
    try:
        moga.create_host('testhost', '192.168.0.1', 7500)
    finally:
        moga.delete_host('testhost')