Running this will yield the following error, which could be a result of torrent.py not being up-to-date within the dev-db-test_db branch in my fork.
======================================================================
ERROR: test_get_torrent (__main__.TestGetTorrent)
Test the get_torrent() function.
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_db.py", line 127, in test_get_torrent
self.assertEqual(ret, Torrent(self.torrent_dict))
File "b:\learning\SHSU\00_fall-2016\software-engineering\repo\debug\torrent.py", line 58, in __init__
path = [path.decode('utf-8') for path in file[b'path']]
File "b:\learning\SHSU\00_fall-2016\software-engineering\repo\debug\torrent.py", line 58, in <listcomp>
path = [path.decode('utf-8') for path in file[b'path']]
AttributeError: 'str' object has no attribute 'decode'
======================================================================
FAIL: test_add_plugin (__main__.TestGetTorrent)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_db.py", line 132, in test_add_plugin
self.assertEqual(ret, True)
AssertionError: None != True
Don't want to make changes to other modules in this branch unless it is reviewed by other group members and given the OK.
Running this will yield the following error, which could be a result of
torrent.py
not being up-to-date within thedev-db-test_db
branch in my fork.Don't want to make changes to other modules in this branch unless it is reviewed by other group members and given the OK.