pleroma/lib/load_testing/helper.ex

17 lines
394 B
Elixir
Raw Normal View History

2019-08-02 14:33:12 -04:00
defmodule Pleroma.LoadTesting.Helper do
defmacro __using__(_) do
quote do
import Ecto.Query
alias Pleroma.Activity
alias Pleroma.Notification
alias Pleroma.Object
alias Pleroma.Repo
alias Pleroma.User
alias Pleroma.Web.ActivityPub
alias Pleroma.Web.CommonAPI
defp to_sec(microseconds), do: microseconds / 1_000_000
end
end
end