(DB, RifterFit, KeepstarFit)
| 12 | |
| 13 | |
| 14 | def test_getAllFits(DB, RifterFit, KeepstarFit): |
| 15 | assert len(Fit.getAllFits()) == 0 |
| 16 | |
| 17 | DB['db'].save(RifterFit) |
| 18 | DB['db'].save(KeepstarFit) |
| 19 | |
| 20 | # For some reason in Travis this adds the first fit twice. WHY?!? |
| 21 | assert len(Fit.getAllFits()) != 0 |
| 22 | |
| 23 | # Cleanup after ourselves |
| 24 | DB['db'].remove(RifterFit) |
| 25 | DB['db'].remove(KeepstarFit) |
| 26 | |
| 27 | |
| 28 | def test_getFitsWithShip_RifterFit(DB, RifterFit): |
nothing calls this directly
no test coverage detected