l.s.b.t.t.TestSnapView(BaseTestSnapView) : class documentation

Part of lp.snappy.browser.tests.test_snap View In Hierarchy

Method setUp Provide useful defaults.
Method makeSnap Undocumented
Method makeBuild Undocumented
Method test_breadcrumb Undocumented
Method test_index_bzr Undocumented
Method test_index_git Undocumented
Method test_index_git_url Undocumented
Method test_index_no_distro_series Undocumented
Method test_index_success_with_buildlog Undocumented
Method test_index_hides_builds_into_private_archive Undocumented
Method test_index_no_builds Undocumented
Method test_index_pending_build Undocumented
Method test_index_pending_build_request Undocumented
Method test_index_failed_build_request Undocumented
Method test_index_store_upload Undocumented
Method test_index_store_upload_no_distro_series Undocumented
Method setStatus Undocumented
Method test_builds_and_requests Undocumented
Method test_builds_and_requests_shows_build_requests Undocumented
Method test_store_channels_empty Undocumented
Method test_store_channels_display Undocumented

Inherited from BrowserTestCase (via BaseTestSnapView):

Method getViewBrowser Undocumented
Method getMainContent Beautiful soup of the main content area of context's page.
Method getMainText Return the main text of a context's page.

Inherited from TestCaseWithFactory (via BaseTestSnapView, BrowserTestCase):

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 BaseTestSnapView, BrowserTestCase, 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.
def setUp(self):
Provide useful defaults.
def makeSnap(self, **kwargs):
def makeBuild(self, snap=None, archive=None, date_created=None, **kwargs):
def test_breadcrumb(self):
def test_index_bzr(self):
def test_index_git(self):
def test_index_git_url(self):
def test_index_no_distro_series(self):
def test_index_success_with_buildlog(self):
def test_index_hides_builds_into_private_archive(self):
def test_index_no_builds(self):
def test_index_pending_build(self):
def test_index_pending_build_request(self):
def test_index_failed_build_request(self):
def test_index_store_upload(self):
def test_index_store_upload_no_distro_series(self):
def setStatus(self, build, status):
def test_builds_and_requests(self):
def test_builds_and_requests_shows_build_requests(self):
def test_store_channels_empty(self):
def test_store_channels_display(self):
API Documentation for Launchpad, generated by pydoctor at 2020-07-08 00:00:09.