diff --git a/token_exchange/tests/test_models.py b/token_exchange/tests/test_models.py new file mode 100644 index 0000000..3fff481 --- /dev/null +++ b/token_exchange/tests/test_models.py @@ -0,0 +1,10 @@ +from django.test import TestCase + +from .factories import TokenExchangeConfigurationFactory + + +class TokenExchangeConfigurationTests(TestCase): + def test_string_method(self): + config = TokenExchangeConfigurationFactory.create(service__label="A label") + + self.assertEqual("A label", str(config))