Comments (4)
Move the assert from test_whitespace_project_path
to test_whitespace_project_path
, we can safely remove it
from djangocms-installer.
I dont understand the first part - move from X to X?
Am 05.11.2013 10:36 schrieb "Iacopo Spalletti" [email protected]:
Move the assert from test_whitespace_project_path to
test_whitespace_project_path, we can safely remove it—
Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-27762580
.
from djangocms-installer.
Sorry, typo! :)
I meant from test_whitespace_project_path
to test_invalid_project_path
Assertion at https://github.com/nephila/aldryn-installer/blob/master/tests/config.py#L152 is different from the one at test_invalid_project_path
and both are needed, but they can easily merged into one test
from djangocms-installer.
I see that extra assertion that is the difference between the two methods, but looking clearly at them - the assertion in the whitespace method just can not work!
It checks for a variable that cannot and must not exist as it's set with a statement that we ant to lead to an exception - that's what we test for.
The only reason why the whitespace test method doesn't lead to an error is because the assertion is never executed because an Exception happens before it comes to the execution.
from djangocms-installer.
Related Issues (20)
- Move to github actions
- Update tooling / packaging
- Use black
- Remove support for Python 2 / Django 1.11 HOT 1
- djangocms 'staticfiles' is not a registered tag library. Must be one of: HOT 4
- pip installing from extra-index-url HOT 2
- installation... HOT 2
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Add django CMS 3.8
- Update pre-commit versions
- Use django-app-enabler as patching engine
- Install additional applications during project creation
- djangocms -p mysite mysite
- Specify package version requirement using == instead of >= HOT 1
- Not working in PythonAnywhere or Heroku servers (bad project.db path) HOT 1
- djangocms-installer does not install django and djangocms-admin-style HOT 3
- django-cms 3.9.0 is out! HOT 7
- Docs: Required libraries seem to be outdated
- After djangocms-installer is installed it cannot be run because of missing pytz
- optional argument --bootstrap with value no install djangocms-bootstrap4 HOT 3
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 djangocms-installer.