diff --git a/agora-test/Spec.hs b/agora-test/Spec.hs index 22c5b49..31e75b9 100644 --- a/agora-test/Spec.hs +++ b/agora-test/Spec.hs @@ -10,6 +10,7 @@ import Test.Tasty (defaultMain, testGroup) import Spec.AuthorityToken qualified as AuthorityToken import Spec.Effect.TreasuryWithdrawal qualified as TreasuryWithdrawal +import Spec.Governor qualified as Governor import Spec.Model.MultiSig qualified as MultiSig import Spec.Proposal qualified as Proposal import Spec.Stake qualified as Stake @@ -43,4 +44,7 @@ main = , testGroup "AuthorityToken tests" AuthorityToken.tests + , testGroup + "Governor tests" + Governor.tests ] diff --git a/agora-test/Spec/Governor.hs b/agora-test/Spec/Governor.hs new file mode 100644 index 0000000..3d567f7 --- /dev/null +++ b/agora-test/Spec/Governor.hs @@ -0,0 +1,15 @@ +{- | +Module : Spec.Governor +Maintainer : connor@mlabs.city +Description: Tests for Governor policy and validator + +Tests for Governor policy and validator +-} +module Spec.Governor (tests) where + +import Test.Tasty (TestTree, testGroup) + +-------------------------------------------------------------------------------- + +tests :: [TestTree] +tests = [] diff --git a/agora-test/Spec/Sample/Governor.hs b/agora-test/Spec/Sample/Governor.hs new file mode 100644 index 0000000..28df5ad --- /dev/null +++ b/agora-test/Spec/Sample/Governor.hs @@ -0,0 +1,8 @@ +{- | +Module : Spec.Sample.Governor +Maintainer : connor@mlabs.city +Description: Sample based testing for Governor utxos + +This module tests primarily the happy path for Governor interactions +-} +module Spec.Sample.Governor () where diff --git a/agora.cabal b/agora.cabal index 74738ec..cb2ca3a 100644 --- a/agora.cabal +++ b/agora.cabal @@ -161,9 +161,11 @@ test-suite agora-test other-modules: Spec.AuthorityToken Spec.Effect.TreasuryWithdrawal + Spec.Governor Spec.Model.MultiSig Spec.Proposal Spec.Sample.Effect.TreasuryWithdrawal + Spec.Sample.Governor Spec.Sample.Proposal Spec.Sample.Shared Spec.Sample.Stake