Skip to content

Commit

Permalink
Merge ca5b117 into efb2f3f
Browse files Browse the repository at this point in the history
  • Loading branch information
VSevagen committed Apr 15, 2021
2 parents efb2f3f + ca5b117 commit 9e6621d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/test_jenkins.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,20 @@ def test_has_identites(self):
enrich_backend = self.connectors[self.connector][2]()
self.assertFalse(enrich_backend.has_identities())

def test_get_field_author(self):
""" Test value of get_field_author """

enrich_backend = self.connectors[self.connector][2]()
self.assertEqual(enrich_backend.get_field_author(), None)

def test_get_identities(self):
"""Test value of get_identities method"""

identities = []
enrich_backend = self.connectors[self.connector][2]()
for item in self.items:
self.assertEqual(enrich_backend.get_identities(item), identities)

def test_items_to_raw(self):
"""Test whether JSON items are properly inserted into ES"""

Expand Down

0 comments on commit 9e6621d

Please sign in to comment.