MediaMath / t1-python

Python SDK for MediaMath Platform APIs
https://developer.mediamath.com/
Apache License 2.0
18 stars 28 forks source link

fix generators being returned on single entities, broken unit test #74

Closed FodT closed 8 years ago

FodT commented 8 years ago

This slipped past code review; I'm not sure why the code to handle the special case for permissions was so complex, and it seems checking the ent_count is enough.

In any case, the existing code broke target_dimensions and so the acceptance test script was failing.

This also fixes a broken/faulty unit test that was using an incorrect fixture.