def test_one_resource():
    router = wsgiservice.routing.Router([DummyResource1])
    retval = router('/foo/my_id')
    print retval
    assert retval[0]['id'] == 'my_id'
    assert retval[0]['_extension'] is None
    assert retval[1] is DummyResource1
Ensures that the crossover function is called as a result of calling
dataset/ETHPy150Open pneff/wsgiservice/tests/test_router.py/test_one_resource--crossover with--dataset/ETHPy150Open ntoll/foox/test/test_ga.py/TestGenome.test_breed