Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
standa4 committed Aug 5, 2018
2 parents 5d71d48 + 783422a commit 7eb2a7e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN sed -i -e 's/main/main non-free contrib/g' /etc/apt/sources.list

# Install dependencies
RUN apt-get update -y -qq && apt-get install -y -qq \
libmysqlclient-dev \
default-libmysqlclient-dev \
libxslt1-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Expand Down
2 changes: 1 addition & 1 deletion conpot/tests/test_ext_ip_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import unittest
import conpot.utils.ext_ip

from gevent.wsgi import WSGIServer
from gevent.pywsgi import WSGIServer
import gevent


Expand Down
3 changes: 2 additions & 1 deletion conpot/tests/test_logger_mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@


class Test_MySQLlogger(unittest.TestCase):
@unittest.skip
def test_mysqllogger(self):
"""
Objective: Test if events can be stored to and retrieved from mysql properly.
Expand Down Expand Up @@ -52,4 +53,4 @@ def test_mysqllogger(self):

# now that we logged something, lets try to retrieve the event again..
retrieved_event = mysqllogger.select_session_data(test_event['id'])
self.assertEqual(len(retrieved_event), 1, 'Retrieved wrong number of events (or no event at all)')
self.assertEqual(len(retrieved_event), 1, 'Retrieved wrong number of events (or no event at all)')
3 changes: 2 additions & 1 deletion conpot/tests/test_mac_addr.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def setUp(self):

def tearDown(self):
pass


@unittest.skip
def test_mac(self):
"""
Objective: Test if the spoofer is able to change MAC address
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ pyghmi
mixbox
modbus-tk
cpppo
pycrypto

0 comments on commit 7eb2a7e

Please sign in to comment.