Remove unused things.

This commit is contained in:
Ned Batchelder
2013-10-10 18:05:44 -04:00
committed by Calen Pennington
parent b6bd293266
commit 679f1d68fc
2 changed files with 0 additions and 8 deletions

View File

@@ -285,13 +285,6 @@ class TestMongoKeyValueStore(object):
self.metadata = {'meta': 'meta_val'}
self.kvs = MongoKeyValueStore(self.data, self.children, self.metadata)
def _check_read(self, key, expected_value):
"""
Asserts the get and has methods.
"""
assert_equals(expected_value, self.kvs.get(key))
assert self.kvs.has(key)
def test_read(self):
assert_equals(self.data['foo'], self.kvs.get(KeyValueStore.Key(Scope.content, None, None, 'foo')))
assert_equals(self.children, self.kvs.get(KeyValueStore.Key(Scope.children, None, None, 'children')))

View File

@@ -16,7 +16,6 @@ import logging
from lxml import etree
from pkg_resources import resource_string
import datetime
import time
import copy
from django.http import Http404