From 0d6a6191a49fac252a96f72bd3193f21ae56424f Mon Sep 17 00:00:00 2001
From: ypcrts <32625281+ypcrts@users.noreply.github.com>
Date: Sun, 26 Apr 2020 01:51:43 -0400
Subject: [PATCH] test __str__ to be congruent with absolute

---
 tests/test_fqdn.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_fqdn.py b/tests/test_fqdn.py
index 37fcf52..60c8607 100644
--- a/tests/test_fqdn.py
+++ b/tests/test_fqdn.py
@@ -21,8 +21,8 @@ def test_constructor_raises_on_bytes(self):
 
     def test_str(self):
         d = "greatdomain.com"
-        assert d == str(FQDN(d))
-        assert d == str(FQDN(d + "."))
+        f = FQDN(d)
+        assert f.absolute == str(f)
 
     def test_rfc_1035_s_2_3_4__label_max_length(self):
         self.__assert_valid(
