rename all test files so that they are prefixed by test_{orginal_filename}.py

This commit is contained in:
Bastien Gérard
2019-08-28 16:01:44 +03:00
parent 99a58d5c91
commit ddececbfea
21 changed files with 90 additions and 155 deletions

View File

@@ -1,11 +1,10 @@
# -*- coding: utf-8 -*-
import uuid
from bson import Binary
from nose.plugins.skip import SkipTest
import six
from bson import Binary
from mongoengine import *
from tests.utils import MongoDBTestCase
@@ -77,8 +76,6 @@ class TestBinaryField(MongoDBTestCase):
self.assertEqual(0, Attachment.objects.count())
def test_primary_filter_by_binary_pk_as_str(self):
raise SkipTest("Querying by id as string is not currently supported")
class Attachment(Document):
id = BinaryField(primary_key=True)