'Ensure the Placement server responds to calls sensibly.'

def test_responds_to_version(self):

    placement_fixture = self.useFixture(fixtures.PlacementFixture())
    resp = placement_fixture._fake_get(None, '/')
    self.assertEqual(200, resp.status_code)
    resp = placement_fixture._fake_get(None, '/foo')
    self.assertEqual(404, resp.status_code)
    placement_fixture.token = None
    resp = placement_fixture._fake_get(None, '/foo')
    self.assertEqual(401, resp.status_code)
