governance_westend_integration_tests/
lib.rs1#[cfg(test)]
18mod imports {
19 pub(crate) use codec::Encode;
20 pub(crate) use emulated_integration_tests_common::{
21 impls::{assert_expected_events, bx, TestExt},
22 xcm_emulator::Chain,
23 xcm_helpers::{
24 build_xcm_send_authorize_upgrade_call, call_hash_of,
25 dispatch_whitelisted_call_with_preimage,
26 },
27 };
28 pub(crate) use frame_support::{assert_err, assert_ok};
29 pub(crate) use sp_runtime::{traits::Dispatchable, DispatchError};
30 pub(crate) use westend_system_emulated_network::CollectivesWestendPara as CollectivesWestend;
31 pub(crate) use xcm::{latest::prelude::*, VersionedLocation, VersionedXcm};
32
33 pub(crate) use westend_system_emulated_network::{
34 AssetHubWestendPara as AssetHubWestend, BridgeHubWestendPara as BridgeHubWestend,
35 CoretimeWestendPara as CoretimeWestend, PeopleWestendPara as PeopleWestend,
36 WestendRelay as Westend,
37 };
38}
39
40#[cfg(test)]
41mod common;
42
43#[cfg(test)]
44mod open_gov_on_relay;
45
46#[cfg(test)]
47mod open_gov_on_asset_hub;