mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

* Problem: core.py contains an unused class, `Bigchain` Solution: Remove core.py. Refactor BigchainDB Class to remove inheritance from Bigchain. * Fixed flake8 complaint about too many blank lines * Attempting to fix Sphinx docs. This may result in some redundant commits, as I don't know what I'm doing, and I can't experiment without running the CI... Sorry in advance! * Updating from master changed BigchainDB.process_post_response to a private method, so I had to align with that. * Fixed a couple stale references to bigchaindb.Bigchain in docstrings * Missed a reference to `Bigchain` in a patch call... * Problem: Tests in class `TestBigChainAPI` from `tests/db/test_bigchain_api.py` were disabled Solution: Fixed the tests that still made sense, and deleted the rest. * Problem: Flake8 style complaints Solution: Made things prettier * Problem: Debugging comments were slightly NSFW Solution: Deleted the debugging comments * Problem: Stale use of `pytest.mark.genesis` decorator on these tests Solution: Removed the decorator * Problem: CriticalDoubleInclusion exception was no longer used anywhere in the code Solution: Deleted it * Problem: Unused exception `GenesisBlockAlreadyExistsError` Solution: Deleted it * Problem: I removed a test that covered writing to the DB and checking that everything is stored faithfully Solution: Replaced it and got it working again