1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 os_exclude = if :os.type() == {:unix, :darwin}, do: [skip_on_mac: true], else: []
6 ExUnit.start(exclude: [:federated, :erratic] ++ os_exclude)
8 Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual)
10 {:ok, _} = Application.ensure_all_started(:ex_machina)
12 ExUnit.after_suite(fn _results ->
13 uploads = Pleroma.Config.get([Pleroma.Uploaders.Local, :uploads], "test/uploads")