Skip to content

Commit

Permalink
Merge branch 'zep_12_double_stack' of https://github.com/artragis/zds…
Browse files Browse the repository at this point in the history
…-site into zep_12_double_stack
  • Loading branch information
artragis committed Sep 16, 2015
2 parents c983ff2 + 7505588 commit 8156210
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ base.db
/contents-public
/media
/articles-data
contents-private/
contents-public/

/tutoriels-private-test
/tutoriels-public-test
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ env:
global:
- secure: "azmDZZQZzf88zpbkYpLpxI66vpEVyv+kniW0QdWAt4qlys8P5OcO3VJBR5YT85vlvnjN9b6raWQAL1ymee0WmVdTmzXed8XjZv7t9QXVw7pfezxMKlEftVp/4Cu4wtvbew0ViZXNWV2hNXHzEqlhgnoIOq94i0UzZ7grMrI0xm0="
matrix:
- TEST_APP="-e back_mysql -- zds.member zds.mp zds.utils zds.forum zds.gallery zds.pages zds.search"
- TEST_APP="-e back_mysql_tuto -- zds.article zds.tutorial zds.tutorialv2"
- TEST_APP="-e back_mysql -- zds.member zds.mp zds.utils zds.forum zds.gallery zds.pages zds.search zds.featured"
- TEST_APP="-e back_mysql -- zds.article zds.tutorial zds.tutorialv2"
- TEST_APP="-e front"


Expand Down
9 changes: 0 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ commands =
coverage run --source='.' {toxinidir}/manage.py test {posargs}
flake8

[testenv:back_mysql_tuto]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
MySQL-python
ujson
commands =
coverage run --source='.' {toxinidir}/manage.py test {posargs}
flake8

[testenv:back]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
Expand Down
1 change: 1 addition & 0 deletions zds/tutorialv2/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ def get_content_from_json(json, sha, slug_last_draft, public=False):

return versioned


class InvalidSlugError(ValueError):
pass

Expand Down

0 comments on commit 8156210

Please sign in to comment.