l.s.t.t.TestAsyncSnapBuildBehaviour(TestSnapBuildBehaviourBase) : class documentation

Part of lp.snappy.tests.test_snapbuildbehaviour View In Hierarchy

Undocumented
Method setUp Undocumented
Method makeJob Create a sample ISnapBuildBehaviour.
Method getProxyURLMatcher Undocumented
Method getRevocationEndpointMatcher Undocumented
Method test_composeBuildRequest Undocumented
Method test_requestProxyToken_unconfigured Undocumented
Method test_requestProxyToken Undocumented
Method test_extraBuildArgs_bzr Undocumented
Method test_extraBuildArgs_build_request_args Undocumented
Method test_extraBuildArgs_git Undocumented
Method test_extraBuildArgs_git_HEAD Undocumented
Method test_extraBuildArgs_git_private Undocumented
Method test_extraBuildArgs_git_url Undocumented
Method test_extraBuildArgs_git_url_HEAD Undocumented
Method test_extraBuildArgs_prefers_store_name Undocumented
Method test_extraBuildArgs_archive_trusted_keys Undocumented
Method test_extraBuildArgs_tools_source_channels_apt Undocumented
Method test_extraBuildArgs_tools_source_channels_snap Undocumented
Method test_extraBuildArgs_channels Undocumented
Method test_extraBuildArgs_channels_apt Undocumented
Method test_extraBuildArgs_channels_feature_flag_real_channel Undocumented
Method test_extraBuildArgs_channels_feature_flag_overridden Undocumented
Method test_extraBuildArgs_disallow_internet Undocumented
Method test_extraBuildArgs_build_source_tarball Undocumented
Method test_extraBuildArgs_private Undocumented
Method test_composeBuildRequest_proxy_url_set Undocumented
Method test_composeBuildRequest_deleted Undocumented
Method test_composeBuildRequest_git_ref_deleted Undocumented
Method test_dispatchBuildToSlave_prefers_lxd Undocumented
Method test_dispatchBuildToSlave_falls_back_to_chroot Undocumented

Inherited from TestCaseWithFactory (via TestSnapBuildBehaviourBase):

Method getUserBrowser Return a Browser logged in as a fresh user, maybe opened at url.
Method getNonRedirectingBrowser Undocumented
Method createBranchAtURL Create a branch at the supplied URL.
Method create_branch_and_tree Create a database branch, bzr branch and bzr checkout.
Method createBzrBranch Create a bzr branch for a database branch.
Static Method getBranchPath Return the path of the branch in the mirrored area.
Method useTempBzrHome Undocumented
Method useBzrBranches Prepare for using bzr branches.

Inherited from TestCase (via TestSnapBuildBehaviourBase, TestCaseWithFactory):

Method becomeDbUser Commit, then log into the database as dbuser.
Method __str__ The string representation of a test is its id.
Method useContext Use the supplied context in this test.
Method makeTemporaryDirectory Create a temporary directory, and return its path.
Method installKarmaRecorder Set up and return a KarmaRecorder.
Method assertProvides Assert 'obj' correctly provides 'interface'.
Method assertNotifies Assert that a callable performs a given notification.
Method assertNoNotification Assert that no notifications are generated by the callable.
Method assertSqlAttributeEqualsDate Fail unless the value of the attribute is equal to the date.
Method assertTextMatchesExpressionIgnoreWhitespace Undocumented
Method assertIsInstance Assert that an instance is an instance of assert_class.
Method assertIsNot Assert that expected is not the same object as observed.
Method assertContentEqual Assert that 'iter1' has the same content as 'iter2'.
Method assertRaisesWithContent Check if the given exception is raised with given content.
Method assertBetween Assert that 'variable' is strictly between two boundaries.
Method assertVectorEqual Apply assertEqual to all given pairs in one go.
Method expectedLog Expect a log to be written that matches the regex.
Method pushConfig Push some key-value pairs into a section of the config.
Method attachOopses Undocumented
Method attachLibrarianLog Include the logChunks from fixture in the test details.
Method assertStatementCount Assert that the expected number of SQL statements occurred.
Method useTempDir Use a temporary directory for this test.
Method assertEmailHeadersEqual Assert that two email headers are equal.
Method assertStartsWith Undocumented
Method assertEndsWith Asserts that s ends with suffix.
Method checkPermissions Check if the used_permissions match expected_permissions.
Method assertEmailQueueLength Pop the email queue, assert its length, and return it.
Method _unfoldEmailHeader Unfold a multiline email header.
@defer.inlineCallbacks
def setUp(self):
Undocumented
def makeJob(self, **kwargs):
Create a sample ISnapBuildBehaviour.
def getProxyURLMatcher(self, job):
Undocumented
def getRevocationEndpointMatcher(self, job):
Undocumented
@defer.inlineCallbacks
def test_composeBuildRequest(self):
Undocumented
@defer.inlineCallbacks
def test_requestProxyToken_unconfigured(self):
Undocumented
@defer.inlineCallbacks
def test_requestProxyToken(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_bzr(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_build_request_args(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_git(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_git_HEAD(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_git_private(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_git_url(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_git_url_HEAD(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_prefers_store_name(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_archive_trusted_keys(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_tools_source_channels_apt(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_tools_source_channels_snap(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_channels(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_channels_apt(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_channels_feature_flag_real_channel(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_channels_feature_flag_overridden(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_disallow_internet(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_build_source_tarball(self):
Undocumented
@defer.inlineCallbacks
def test_extraBuildArgs_private(self):
Undocumented
@defer.inlineCallbacks
def test_composeBuildRequest_proxy_url_set(self):
Undocumented
@defer.inlineCallbacks
def test_composeBuildRequest_deleted(self):
Undocumented
@defer.inlineCallbacks
def test_composeBuildRequest_git_ref_deleted(self):
Undocumented
@defer.inlineCallbacks
def test_dispatchBuildToSlave_prefers_lxd(self):
Undocumented
@defer.inlineCallbacks
def test_dispatchBuildToSlave_falls_back_to_chroot(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-11-20 00:00:15.