FAILING, minor formatting / config issues
parent
e83ada7e93
commit
844d521537
|
@ -40,6 +40,7 @@ defmodule FarmbotCeleryScript.StepRunner do
|
|||
fun.()
|
||||
rescue
|
||||
e ->
|
||||
IO.warn("CeleryScript Exception: ", __STACKTRACE__)
|
||||
result = {:error, Exception.message(e)}
|
||||
send(listener, {:step_complete, tag, result})
|
||||
result
|
||||
|
|
|
@ -102,8 +102,7 @@ defmodule FarmbotCeleryScript.SysCalls.Stubs do
|
|||
do: error(:point, [point_type, resource_id])
|
||||
|
||||
@impl true
|
||||
def get_point_group(_ \\ nil, id_or_type),
|
||||
do: error(:get_point_group, [id_or_type])
|
||||
def get_point_group(id_or_type), do: error(:get_point_group, [id_or_type])
|
||||
|
||||
@impl true
|
||||
def power_off(), do: error(:power_off, [])
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
IO.puts("==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--")
|
||||
|
||||
defmodule FarmbotCore.DeviceWorkerTest do
|
||||
use ExUnit.Case, async: false
|
||||
use Mimic
|
||||
|
|
|
@ -4,6 +4,10 @@ config :logger, handle_otp_reports: true, handle_sasl_reports: true
|
|||
|
||||
config :farmbot_firmware, FarmbotFirmware, reset: FarmbotFirmware.NullReset
|
||||
|
||||
# TODO(Rick) We probably don't need to use this anymore now that Mox is a thing.
|
||||
config :farmbot_celery_script, FarmbotCeleryScript.SysCalls,
|
||||
sys_calls: FarmbotCeleryScript.SysCalls.Stubs
|
||||
|
||||
import_config "ecto.exs"
|
||||
import_config "farmbot_core.exs"
|
||||
import_config "lagger.exs"
|
||||
|
|
Loading…
Reference in New Issue