Code Monkey home page Code Monkey logo

Comments (2)

akinwale avatar akinwale commented on May 26, 2024

tests.unit.core.test_log_support.TestLogger.test_can_log_failure

09-18 09:18:01.770 16289-16308/io.lbry.lbrynet:service_lbrynet_testrunner I/testrunnerservice: twisted.trial.unittest.FailTest: 'test_log_support.py:18 - My message: terrible things happened' != 'log_support.py:353 - My message: terrible things happened'

The filename and line number mismatch between the expected and actual messages may be happening due to the fact that the tests are loaded as a compiled package on the Android platform.

tests.unit.test_conf.SettingsTest.test_invalid_data_type_raises_exception
KeyError is raised because the "fake_data_type" key is not found in the Config class' _data member. This may also be due to the tests being loaded as a compiled package on the Android platform.

tests.unit.lbrynet_daemon.test_ExchangeRateManager.ExchangeRateTest.test_invalid_rates
tests.unit.test_conf.SettingsTest.test_invalid_setting_raises_exception

The assert statements in the Python code don't seem to be working which results in the corresponding AssertionError not being raised. Proposed fix would be to explicitly check the conditions and raise the AssertionError.

tests.unit.lbrynet_daemon.test_Daemon.TestJsonRpc.test_help
The PYTHONOPTIMIZE flag which is required for the Android build removes docstrings which causes fn.__doc__ to return an invalid value which results in failure.

from lbry-android.

akinwale avatar akinwale commented on May 26, 2024

Fixed 3, skipped 2 due to no fix. lbryio/lbry-sdk#940

from lbry-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.