B4UAgree is a browser extension that simplifies and summarizes privacy policies in real-time, empowering users to make informed decisions about their online privacy. Tailored for common users, and privacy enthusiasts, it provides customizable insights for a transparent online experience.
Description:
When attempting to run the pytest file back_test.py with tests involving privacysummarizer.py, will result in module not found errors regarding summarizer.sbert. Pytest seems unable to innately access certain modules from libraries used by imported/tested modules
Reproduction Steps:
Uncomment the TestSummarizer class in back_test.py and the import privacysummarizer line.
Run the pytest command anywhere in the file hierarchy above back_test.py.
Hypotheses:
Issue with package installation
Issue with file names
Issue with python path
Log:
Tuesday 4/30
11:00-20 checked that all packages were installed with Liam
11:25 Googled issues, resolved to check out file structure issues
20:00 Restructured test files to have test folder outside of relevant folder and empty placeholder test in top directory, this creates new issues of importing privacysummarizer.py in the first place, requires further research into pytest
20:30 test folder relocated to relevant folder, init.py file added to correct pytest pathing, issues of library permission persists
20:40 issues with pathing being investigated, consulting stackoverflow and pytest's website
20:50 taking break before reapproaching
Solution:
WIP
Strategies:
Asked teammates for help (Liam)
Consulted online sources, official and unofficial
Learned:
Attempting to solve issues by oneself is often counterproductive
Description: When attempting to run the pytest file back_test.py with tests involving privacysummarizer.py, will result in module not found errors regarding summarizer.sbert. Pytest seems unable to innately access certain modules from libraries used by imported/tested modules
Reproduction Steps: Uncomment the TestSummarizer class in back_test.py and the import privacysummarizer line. Run the pytest command anywhere in the file hierarchy above back_test.py.
Hypotheses:
Log:
Solution:
Strategies:
Learned: