Giter VIP home page Giter VIP logo

owning-a-home-api's Issues

Provide some sample data for RateChecker

As a new user of the application, I can install the countylimits and ratechecker apps in a Django project, but there is no sample data or documentation regarding that data's format for the load_daily_data management command.

Despite the fact that we explicitly state that the app relies on data that is not available externally, sample data (or possibly test fixtures) would be useful in setting up copy of the ratechecker app.

MySQL should not be required to run tests

The test_standalone.py script executes tests against a sqlite database. However, MySQL is required for two reasons:

MYSQL-python is listed in the requirements.txt, and this won't install without mysql_config installed on the system (e.g. via brew install mysql)

The ratechecker/management/commands/load_daily_data.py management command imports _mysql_exceptions, which causes tests to fail unless the MySQL stack is installed.

API parameter documentation

Querying the API endpoints for ratechecker and countylimits result in the following errors:

{
    "detail": "Required parameter 'loan_amount' is missing"
}
{
    "detail": "Required parameter state is missing"
}

As a new user of the application, it would be useful for the README to provide an overview of the parameters utilized in the ratechecker and countylimits APIs.

mock is required to run test_standalone.py

The mock library is required to run the test_standalone.py script, but mock is not included in the requirements.txt.

The need to install mock should be either mentioned in the README instructions, included in the requirements.txt, or added to something like requirements-test.txt

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.