Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
wicked.at.tests.test_scope.TestWickedScope Class Reference
Inheritance diagram for wicked.at.tests.test_scope.TestWickedScope:
Inheritance graph
[legend]
Collaboration diagram for wicked.at.tests.test_scope.TestWickedScope:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def test_registration
def test_insideScope
def test_outsideScope

Static Public Attributes

string wicked_type = 'IronicWiki'
string wicked_field = 'body'
 layer = Scoped

Detailed Description

Definition at line 51 of file test_scope.py.


Member Function Documentation

Definition at line 62 of file test_scope.py.

00062 
00063     def test_insideScope(self):
00064         # @@ this test passes without "scope". bogus?
00065         f2 = makeContent(self.folder, 'f2', 'Folder')
00066         w1 = makeContent(f2, 'w1', 'IronicWiki',
00067                           title='W1 Title')
00068         
00069         self.set_text(w1, "((%s))" % self.page1.Title())
00070         self.failUnlessWickedLink(w1, self.page1)

Here is the call graph for this function:

Definition at line 71 of file test_scope.py.

00071 
00072     def test_outsideScope(self):
00073         f2 = makeContent(self.folder, 'f2', 'Folder')
00074         f3 = makeContent(f2, 'f3', 'Folder')
00075         w1 = makeContent(f3, 'w1', 'IronicWiki',
00076                           title='W1 Title')
00077         self.set_text(w1, "((%s))" % self.page1.Title())
00078         self.failIfWickedLink(w1, self.page1)
00079         

Here is the call graph for this function:

Definition at line 56 of file test_scope.py.

00056 
00057     def test_registration(self):
00058         # test our test ;)
00059         from zope.component import getMultiAdapter
00060         assert getMultiAdapter((IronicWiki.schema['body'], self.page1), IScope) \
00061                == '/plone/Members'


Member Data Documentation

Definition at line 54 of file test_scope.py.

Definition at line 53 of file test_scope.py.

Definition at line 52 of file test_scope.py.


The documentation for this class was generated from the following file: