Document an assumption in the test better

master
bspeice 2013-10-20 17:57:06 -04:00
parent 600f0c1229
commit f6c74c5e8c
1 changed files with 2 additions and 1 deletions

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));
}
}