diff --git a/cardano-testnet/cardano-testnet.cabal b/cardano-testnet/cardano-testnet.cabal index 2a2ac0f5cd9..9f3110e32a4 100644 --- a/cardano-testnet/cardano-testnet.cabal +++ b/cardano-testnet/cardano-testnet.cabal @@ -179,7 +179,6 @@ test-suite cardano-testnet-test other-modules: Cardano.Testnet.Test.Cli.Babbage.LeadershipSchedule Cardano.Testnet.Test.Cli.Babbage.StakeSnapshot Cardano.Testnet.Test.Cli.Babbage.Transaction - Cardano.Testnet.Test.Cli.Conway.DRepRetirement Cardano.Testnet.Test.Cli.Conway.Plutus Cardano.Testnet.Test.Cli.Conway.StakeSnapshot Cardano.Testnet.Test.Cli.KesPeriodInfo @@ -188,14 +187,15 @@ test-suite cardano-testnet-test Cardano.Testnet.Test.FoldBlocks Cardano.Testnet.Test.Misc - Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits - Cardano.Testnet.Test.LedgerEvents.Gov.InfoAction - Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution - Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitutionSPO - Cardano.Testnet.Test.LedgerEvents.Gov.TreasuryWithdrawal - Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity - Cardano.Testnet.Test.LedgerEvents.SanityCheck - Cardano.Testnet.Test.LedgerEvents.TreasuryGrowth + Cardano.Testnet.Test.Gov.DRepDeposits + Cardano.Testnet.Test.Gov.DRepRetirement + Cardano.Testnet.Test.Gov.InfoAction + Cardano.Testnet.Test.Gov.ProposeNewConstitution + Cardano.Testnet.Test.Gov.ProposeNewConstitutionSPO + Cardano.Testnet.Test.Gov.TreasuryWithdrawal + Cardano.Testnet.Test.Gov.DRepActivity + Cardano.Testnet.Test.Gov.TreasuryGrowth + Cardano.Testnet.Test.SanityCheck Cardano.Testnet.Test.Node.Shutdown Cardano.Testnet.Test.SubmitApi.Babbage.Transaction diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/DRepActivity.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepActivity.hs similarity index 99% rename from cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/DRepActivity.hs rename to cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepActivity.hs index afc408d55d8..c306a3db5b0 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/DRepActivity.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepActivity.hs @@ -5,7 +5,7 @@ {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeApplications #-} -module Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity +module Cardano.Testnet.Test.Gov.DRepActivity ( hprop_check_drep_activity ) where diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/DRepDeposits.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepDeposits.hs similarity index 98% rename from cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/DRepDeposits.hs rename to cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepDeposits.hs index b95f827aaf2..3e409f57584 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/DRepDeposits.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepDeposits.hs @@ -1,6 +1,6 @@ {-# LANGUAGE NamedFieldPuns #-} -module Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits +module Cardano.Testnet.Test.Gov.DRepDeposits ( hprop_ledger_events_drep_deposits ) where diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Cli/Conway/DRepRetirement.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepRetirement.hs similarity index 98% rename from cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Cli/Conway/DRepRetirement.hs rename to cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepRetirement.hs index a80de3f6ef7..c20a8004d68 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Cli/Conway/DRepRetirement.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepRetirement.hs @@ -6,7 +6,7 @@ {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeApplications #-} -module Cardano.Testnet.Test.Cli.Conway.DRepRetirement +module Cardano.Testnet.Test.Gov.DRepRetirement ( hprop_drep_retirement ) where diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/InfoAction.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/InfoAction.hs similarity index 99% rename from cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/InfoAction.hs rename to cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/InfoAction.hs index 567bbb40431..3537455c48a 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/InfoAction.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/InfoAction.hs @@ -7,7 +7,7 @@ {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeApplications #-} -module Cardano.Testnet.Test.LedgerEvents.Gov.InfoAction +module Cardano.Testnet.Test.Gov.InfoAction ( hprop_ledger_events_info_action ) where diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/ProposeNewConstitution.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs similarity index 99% rename from cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/ProposeNewConstitution.hs rename to cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs index 3e8cf489e90..0ebd385dea5 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/ProposeNewConstitution.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs @@ -5,7 +5,7 @@ {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeApplications #-} -module Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution +module Cardano.Testnet.Test.Gov.ProposeNewConstitution ( hprop_ledger_events_propose_new_constitution ) where diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/ProposeNewConstitutionSPO.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitutionSPO.hs similarity index 99% rename from cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/ProposeNewConstitutionSPO.hs rename to cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitutionSPO.hs index 03fbfe11f48..879d72d3715 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/ProposeNewConstitutionSPO.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitutionSPO.hs @@ -4,7 +4,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-} -module Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitutionSPO +module Cardano.Testnet.Test.Gov.ProposeNewConstitutionSPO ( hprop_ledger_events_propose_new_constitution_spo ) where diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/TreasuryGrowth.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/TreasuryGrowth.hs similarity index 98% rename from cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/TreasuryGrowth.hs rename to cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/TreasuryGrowth.hs index 70a4affc582..05ead079ba3 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/TreasuryGrowth.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/TreasuryGrowth.hs @@ -2,7 +2,7 @@ {-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} -module Cardano.Testnet.Test.LedgerEvents.TreasuryGrowth where +module Cardano.Testnet.Test.Gov.TreasuryGrowth where import Cardano.Api hiding (cardanoEra) import qualified Cardano.Api as Api diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/TreasuryWithdrawal.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/TreasuryWithdrawal.hs similarity index 99% rename from cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/TreasuryWithdrawal.hs rename to cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/TreasuryWithdrawal.hs index eb63124f7eb..e0fb21196df 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/TreasuryWithdrawal.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/TreasuryWithdrawal.hs @@ -9,7 +9,7 @@ {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeApplications #-} -module Cardano.Testnet.Test.LedgerEvents.Gov.TreasuryWithdrawal +module Cardano.Testnet.Test.Gov.TreasuryWithdrawal ( hprop_ledger_events_treasury_withdrawal ) where diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/SanityCheck.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/SanityCheck.hs similarity index 98% rename from cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/SanityCheck.hs rename to cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/SanityCheck.hs index 05287368a2d..9e580343e83 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/SanityCheck.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/SanityCheck.hs @@ -4,7 +4,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-} -module Cardano.Testnet.Test.LedgerEvents.SanityCheck +module Cardano.Testnet.Test.SanityCheck ( hprop_ledger_events_sanity_check ) where diff --git a/cardano-testnet/test/cardano-testnet-test/cardano-testnet-test.hs b/cardano-testnet/test/cardano-testnet-test/cardano-testnet-test.hs index 9c90adeee2c..97f73914b4a 100644 --- a/cardano-testnet/test/cardano-testnet-test/cardano-testnet-test.hs +++ b/cardano-testnet/test/cardano-testnet-test/cardano-testnet-test.hs @@ -8,19 +8,19 @@ import qualified Cardano.Crypto.Init as Crypto import qualified Cardano.Testnet.Test.Cli.Babbage.LeadershipSchedule import qualified Cardano.Testnet.Test.Cli.Babbage.StakeSnapshot import qualified Cardano.Testnet.Test.Cli.Babbage.Transaction -import qualified Cardano.Testnet.Test.Cli.Conway.DRepRetirement as DRepRetirement import qualified Cardano.Testnet.Test.Cli.Conway.Plutus import qualified Cardano.Testnet.Test.Cli.KesPeriodInfo import qualified Cardano.Testnet.Test.Cli.Queries import qualified Cardano.Testnet.Test.Cli.QuerySlotNumber import qualified Cardano.Testnet.Test.FoldBlocks -import qualified Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits -import qualified Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution -import qualified Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitutionSPO as LedgerEvents -import qualified Cardano.Testnet.Test.LedgerEvents.Gov.TreasuryWithdrawal as LedgerEvents -import qualified Cardano.Testnet.Test.LedgerEvents.SanityCheck as LedgerEvents -import qualified Cardano.Testnet.Test.LedgerEvents.TreasuryGrowth as LedgerEvents +import qualified Cardano.Testnet.Test.Gov.DRepDeposits +import qualified Cardano.Testnet.Test.Gov.DRepRetirement as DRepRetirement +import qualified Cardano.Testnet.Test.Gov.ProposeNewConstitution +import qualified Cardano.Testnet.Test.Gov.ProposeNewConstitutionSPO as LedgerEvents +import qualified Cardano.Testnet.Test.Gov.TreasuryGrowth as LedgerEvents +import qualified Cardano.Testnet.Test.Gov.TreasuryWithdrawal as LedgerEvents import qualified Cardano.Testnet.Test.Node.Shutdown +import qualified Cardano.Testnet.Test.SanityCheck as LedgerEvents import qualified Cardano.Testnet.Test.SubmitApi.Babbage.Transaction import Prelude @@ -47,10 +47,10 @@ tests = do , H.ignoreOnWindows "Treasury Growth" LedgerEvents.prop_check_if_treasury_is_growing -- TODO: Replace foldBlocks with checkLedgerStateCondition , T.testGroup "Governance" - [ H.ignoreOnMacAndWindows "ProposeAndRatifyNewConstitution" Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution.hprop_ledger_events_propose_new_constitution + [ H.ignoreOnMacAndWindows "ProposeAndRatifyNewConstitution" Cardano.Testnet.Test.Gov.ProposeNewConstitution.hprop_ledger_events_propose_new_constitution -- TODO: "DRep Activity" is too flaky at the moment. Disabling until we can fix it. -- , H.ignoreOnWindows "DRep Activity" Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity.hprop_check_drep_activity - , H.ignoreOnWindows "DRep Deposits" Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits.hprop_ledger_events_drep_deposits + , H.ignoreOnWindows "DRep Deposits" Cardano.Testnet.Test.Gov.DRepDeposits.hprop_ledger_events_drep_deposits -- FIXME Those tests are flaky -- , H.ignoreOnWindows "InfoAction" LedgerEvents.hprop_ledger_events_info_action , H.ignoreOnWindows "ProposeNewConstitutionSPO" LedgerEvents.hprop_ledger_events_propose_new_constitution_spo