~cjwatson/lazr.restful/double-closing-brace

« back to all changes in this revision

Viewing changes to src/lazr/restful/tests/test_etag.py

  • Committer: Colin Watson
  • Date: 2016-02-17 00:49:58 UTC
  • Revision ID: cjwatson@canonical.com-20160217004958-gyxjki8ovbby5yg1
Remove duplicate test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
        self.assertEquals(HTTPResource(None, None)._getETagCores(), None)
89
89
 
90
90
 
91
 
class TestHTTPResourceETags(unittest.TestCase):
92
 
 
93
 
    def test_getETag_is_a_noop(self):
94
 
        # The HTTPResource class implements a do-nothing _getETagCores in order to
95
 
        # be conservative (because it's not aware of the nature of all possible
96
 
        # subclasses).
97
 
        self.assertEquals(HTTPResource(None, None)._getETagCores(), None)
98
 
 
99
 
 
100
91
class FauxEntryField:
101
92
    entry = None
102
93
    name = 'field_name'