set inventory on sitefix assertation

This commit is contained in:
Matthias 2021-10-05 22:21:15 +02:00
parent 81757d5bbd
commit f1fd1d4da8
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -4,6 +4,8 @@ from django.test import TestCase
from django.conf import settings
from django.conf.urls import url, include
from datetime import datetime
from plugins.integration import AppMixin, IntegrationPluginBase, SettingsMixin, UrlsMixin, NavigationMixin
@ -155,7 +157,7 @@ class IntegrationPluginBaseTests(TestCase):
self.assertEqual(self.plugin_name.human_name, 'a titel')
# pub_date
self.assertEqual(self.plugin_name.pub_date, "1111.11.11")
self.assertEqual(self.plugin_name.pub_date, datetime(1111, 11, 11, 0, 0))
# version
self.assertEqual(self.plugin.version, None)