airbnb / binaryalert

BinaryAlert: Serverless, Real-time & Retroactive Malware Detection.
https://binaryalert.io
Apache License 2.0
1.41k stars 187 forks source link

Fix pyfakefs deprecation warnings #143

Closed mmwtsn closed 5 years ago

mmwtsn commented 5 years ago

to: @airbnb/binaryalert-maintainers size: small

Background

The unit tests make a few calls to deprecated pyfakefs functions which are throwing warnings. When those functions are eventually removed this could break. Until then it clutters the test output.

An example of the output can be seen in Travis.

Changes

Testing

./manage.py unit_test
.............................................................................
----------------------------------------------------------------------
Ran 77 tests in 5.601s

OK
coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 92.2% when pulling d88dd889845df7c888c8ca69da7d72229d6e7496 on capsule8:fix-deprecation-warnings into 1e06b943d2b0e3133a593cc7e4f9398f3882ce74 on airbnb:master.