- printer test

This commit is contained in:
gazebo
2019-04-22 11:09:44 +08:00
parent b09999a722
commit 332e9b11a3
3 changed files with 17 additions and 4 deletions

View File

@@ -33,3 +33,9 @@ func TestPrintMsg(t *testing.T) {
handleError(t, err)
baseapi.SugarLogger.Debug(id, status)
}
func TestGetPrinterStatus(t *testing.T) {
status, err := api.GetPrinterStatus("deviceid", "devicesecret")
handleError(t, err)
baseapi.SugarLogger.Debug(status)
}