-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathtest.py
More file actions
29 lines (21 loc) · 817 Bytes
/
test.py
File metadata and controls
29 lines (21 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# coding: utf-8
# Carbon Black EDR Copyright © 2013-2020 VMware, Inc. All Rights Reserved.
################################################################################
import logging
import sys
import unittest
class TestCbFeedExamples(unittest.TestCase):
# NOTE: zeus tracker returns: "# ZeuS Tracker has been discontinued on Jul 8th, 2019", so
# test_abusech has been removed.
def test_mdl(self):
import example.mdl as mdl
mdl.generate_mdl_feed.DAYS_BACK = None # get all data
mdl.create()
def test_tor(self):
import example.tor as tor
tor.create()
if __name__ == '__main__':
logging.basicConfig(stream=sys.stdout, level=logging.INFO, format='[%(filename)s:%(lineno)d] %(message)s')
# run the unit tests
#
unittest.main()