Merge branch 'misc-tests' into user-view
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
""" test for app action functionality """
|
||||
import os
|
||||
import json
|
||||
from unittest.mock import patch
|
||||
|
||||
@ -207,3 +208,6 @@ class FederationViews(TestCase):
|
||||
created = models.FederatedServer.objects.get(server_name="server.name")
|
||||
self.assertEqual(created.status, "blocked")
|
||||
self.assertEqual(created.notes, "https://explanation.url")
|
||||
|
||||
# remove file.json after test
|
||||
os.remove("file.json")
|
||||
|
Reference in New Issue
Block a user