referrerpolicy=no-referrer-when-downgrade

governance_westend_integration_tests/
lib.rs

1// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
2// for a list of specific contributors.
3// SPDX-License-Identifier: Apache-2.0
4
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
17#[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;