Removed unused YamlSerializerTestCase.fwd_ref_str.

Unused since its introduction in febd5aeec6.
This commit is contained in:
Mariusz Felisiak 2019-05-03 10:00:06 +02:00 committed by GitHub
parent 567b9928a3
commit 9006189c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 16 deletions

View File

@ -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