~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/tests/test_simple.py

  • Committer: j.c.sackett
  • Date: 2011-10-31 20:48:56 UTC
  • mto: This revision was merged to the branch mainline in revision 459.
  • Revision ID: jonathan.sackett@canonical.com-20111031204856-r5xvirhs7khgt8v1
public_or_private renamed public_private_css and tests added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        self.msg = 'a very exciting commit message <'
85
85
        self.revid = self.tree.commit(message=self.msg)
86
86
 
 
87
    def test_public_private(self):
 
88
        app = self.setUpLoggerhead(private=True)
 
89
        self.assertEqual(app.public_private_css(), 'private')
 
90
        app = self.setUpLoggerhead()
 
91
        self.assertEqual(app.public_private_css(), 'public')
 
92
 
87
93
    def test_changes(self):
88
94
        app = self.setUpLoggerhead()
89
95
        res = app.get('/changes')