Document an assumption in the test better

This commit is contained in:
bspeice 2013-10-20 17:57:06 -04:00
parent 600f0c1229
commit f6c74c5e8c

View File

@ -70,7 +70,8 @@ public class ParkingClientTest extends AndroidTestCase{
// While the lot should be full (100%) the unit test POST goes too fast
// for Retrofit to keep up (or server, tbh not sure which)
// As long as the pct > 0, some of our POSTs have made it.
// We are making an assumption here that in production we won't have such
// rapid-fire usage.
assertTrue((lot.getFilledPct() > 0));
}
}