2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/plugins/kosync.koplugin
chrox 7ea12c0198 fix broken unit tests on Travis CI
1. It turns out that `device_id` is not defined in unit test environment
which makes the `assert(self.kosync_device_id)` fail and somehow makes `luajit` segmentation fault.
2. In the device spec, stubbing `io.open` will make subsquent `require`
all return boolean value and segmentation fault `luajit`.

This patch is a minimum viable change that makes CI work on both my
local box and Travis.
2016-08-11 18:17:09 +08:00
..
api.json Update KOSyncClient 2016-08-10 10:42:51 -07:00
KOSyncClient.lua Update KOSyncClient 2016-08-10 10:42:51 -07:00
main.lua fix broken unit tests on Travis CI 2016-08-11 18:17:09 +08:00