mirror of https://github.com/django/django.git
Removed unused YamlSerializerTestCase.fwd_ref_str.
Unused since its introduction in febd5aeec6
.
This commit is contained in:
parent
567b9928a3
commit
9006189c0e
|
@ -85,22 +85,6 @@ class NoYamlSerializerTestCase(SimpleTestCase):
|
||||||
@unittest.skipUnless(HAS_YAML, "No yaml library detected")
|
@unittest.skipUnless(HAS_YAML, "No yaml library detected")
|
||||||
class YamlSerializerTestCase(SerializersTestBase, TestCase):
|
class YamlSerializerTestCase(SerializersTestBase, TestCase):
|
||||||
serializer_name = "yaml"
|
serializer_name = "yaml"
|
||||||
fwd_ref_str = """- fields:
|
|
||||||
headline: Forward references pose no problem
|
|
||||||
pub_date: 2006-06-16 15:00:00
|
|
||||||
categories: [1]
|
|
||||||
author: 1
|
|
||||||
pk: 1
|
|
||||||
model: serializers.article
|
|
||||||
- fields:
|
|
||||||
name: Reference
|
|
||||||
pk: 1
|
|
||||||
model: serializers.category
|
|
||||||
- fields:
|
|
||||||
name: Agnes
|
|
||||||
pk: 1
|
|
||||||
model: serializers.author"""
|
|
||||||
|
|
||||||
pkless_str = """- fields:
|
pkless_str = """- fields:
|
||||||
name: Reference
|
name: Reference
|
||||||
pk: null
|
pk: null
|
||||||
|
|
Loading…
Reference in New Issue