Closed mhrivnak closed 12 years ago
This may be a fixture problem. The fixture "legacy_objects.json" shows this venue with an address FK of "1", but I don't see in any fixture that an address entry is created to match it.
Interesting. I wouldnt have checked in with a failing test. For some reason that test isn't failing for me. I think you're right about the issue and I'll fix the fixture.
I'm guessing venue_address
should just be None
when there is no address.
Checkout the issue/83 branch and let me know if the test is still failing.
Interestingly, it is currently passing for me on both the dev and issue/83 branches.
The property "venue_address" on models.Room incorrectly assumes that venue will have an address. If it does not, an exception is raised.
This seems to be demonstrated already in a failing unit test. I'm not sure how this came to be checked in while failing.