Comments (7)
I don't know whether I have be running mongo while runing test.
Long story short, yes, you should ; )
The core error message says the app expects the MongoDB URL in a envvar (or .env
): decouple.UndefinedValueError: MONGO_URL not found.
.
from perfil-politico.
It seems to be really silly a must have db setup just for run tests.
And, it should be explicitly written on the readme
of the project that for running test we have to sepup the db.
from perfil-politico.
it should be explicitly written on the readme of the project that for running test we have to sepup the db.
Actually we have this line on the README.md
: To run the API, you must copy the env-template
to a .env
file and add the MongoDB URL.
So if you follow the instructions you should not get the error you reported. Any ideas on how to make this line clearer?
from perfil-politico.
You could have one section dedicated to testing.
Like this /training-center/hades. You can look up for Rodando os testes com Docker
.
So, you could have something like:
Running tests:
Requirements: having a MongoDB running locally....
from perfil-politico.
Requirements: having a MongoDB running locally
IMHO this is kinda a simplistic. We have a section for Settings so what about: “In order to run tests you need to fully configure your instance as describer in the Settings section” – do you think this would make the instructions clearer?
from perfil-politico.
do you think this would make the instructions clearer?
Yeah. Thanks for your time!
Sorry any bothering
from perfil-politico.
Sorry any bothering
Contributing is never bothering ; )
from perfil-politico.
Related Issues (20)
- [Integração de dados] Implementar live-update do comando load_bills HOT 1
- [Raspador Legislativo][spike] Discutir com cuducos solução para o crawler do senado
- [Raspador Legislativo] Corrigir spider do senado HOT 7
- [Otimização][spike] Investigar otimização do comando load_affiliations
- [Otimização] Otimizar o comando load_affiliations
- [Documentação] Documentar fontes de dados
- [Integração de dados][spike] investigar novos dados de candidatos HOT 3
- [Integração de dados][spike] investigar novos dados de bens HOT 4
- [Integração de dados] Atualizar eleições brasil para extrair candidatos de 2022
- [Integração de dados] Atualizar eleições brasil para extrair bens candidatos de 2022
- [Integração de dados] Carregar dados de candidatos de 2022 no servidor HOT 1
- [Integração de dados] Carregar dados de bens de 2022 no servidor HOT 3
- [Consistência de dados] Dados de candidatos duplicados HOT 4
- [API] Adicionar campo status e round nas requests de candidatos
- [Infra] Criar ambiente de staging HOT 3
- [Integração de dados] Atualizar eleições brasil para extrair dados de filiação de 2022
- [Integração de dados][spike] investigar novos dados de filiação HOT 2
- [Integração de dados] Atualizar fotos de candidatos de 2022 HOT 1
- [Integração de dados] Carregar dados de filiados de 2022 no servidor HOT 2
- [Integração de dados] Atualizar o banco de produção com os dados de staging HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perfil-politico.