Compare commits
26 Commits
main
...
wip/update
Author | SHA1 | Date |
---|---|---|
Frédéric Péters | 2a99daebc0 | |
Frédéric Péters | 5d935281cd | |
Frédéric Péters | c9da1ff9a0 | |
Jérôme Schneider | 0bbbfefccf | |
Jérôme Schneider | 75fbece8e8 | |
Jérôme Schneider | 0e7a92b469 | |
pyup-bot | 5741279d0e | |
pyup-bot | 12b0d472b8 | |
pyup-bot | 74d2266817 | |
pyup-bot | c46fd5a5ec | |
pyup-bot | ad938c6008 | |
pyup-bot | 2c1ae2df92 | |
Johannes Hoppe | 6260226ae5 | |
pyup-bot | a5bb222ea8 | |
pyup-bot | f12e624cb8 | |
pyup-bot | c0d6fcb663 | |
pyup-bot | 6dc2f3eb19 | |
Johannes Hoppe | 26f2a36dc6 | |
pyup-bot | d6180e05fc | |
Johannes Hoppe | 67b7e755fe | |
Johannes Hoppe | 4147cac2f8 | |
Johannes Hoppe | 55e481470e | |
pyup-bot | 7297ed7fde | |
pyup-bot | 90be63441b | |
pyup-bot | d6e056c009 | |
pyup-bot | a910581f7a |
|
@ -23,7 +23,8 @@ python:
|
|||
env:
|
||||
global:
|
||||
- DISPLAY=:99.0
|
||||
- GECKO_DRIVER_VERSION=v0.14.0
|
||||
- GECKO_DRIVER_VERSION=v0.16.1
|
||||
- CHROME_DRIVER_VERSION=2.29
|
||||
matrix:
|
||||
- DJANGO=18
|
||||
- DJANGO=110
|
||||
|
@ -52,10 +53,9 @@ install:
|
|||
- sh -e /etc/init.d/xvfb start
|
||||
before_script:
|
||||
- mkdir bin
|
||||
- curl -O https://chromedriver.storage.googleapis.com/2.27/chromedriver_linux64.zip
|
||||
- curl -O https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION}/chromedriver_linux64.zip
|
||||
- unzip chromedriver_linux64.zip -d bin
|
||||
- curl -Lo geckodriver.tar.gz "https://github.com/mozilla/geckodriver/releases/download/${GECKO_DRIVER_VERSION}/geckodriver-${GECKO_DRIVER_VERSION}-linux64.tar.gz"
|
||||
- tar xzf geckodriver.tar.gz -C bin
|
||||
- curl -Lo - "https://github.com/mozilla/geckodriver/releases/download/${GECKO_DRIVER_VERSION}/geckodriver-${GECKO_DRIVER_VERSION}-linux64.tar.gz" | tar xzf - -C bin
|
||||
- PATH=$PATH:$PWD/bin
|
||||
- nvm install --lts
|
||||
- npm install -g standard
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include MANIFEST.in
|
||||
include *.txt *.md
|
||||
recursive-include django_select2/static *.*
|
||||
recursive-exclude django_select2/static .DS_Store
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
django-select2 (5.10.0-0) UNRELEASED; urgency=medium
|
||||
|
||||
* Update to 5.10.0
|
||||
|
||||
-- Frederic Peters <fpeters@debian.org> Sat, 10 Jun 2017 21:49:57 +0200
|
||||
|
||||
django-select2 (4.3.1-2~eo70+1) wheezy-eobuilder; urgency=low
|
||||
|
||||
* Initial package
|
||||
|
||||
-- Jérôme Schneider <jschneider@entrouvert.com> Tue, 12 May 2015 11:45:32 +0200
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,13 @@
|
|||
Source: django-select2
|
||||
Maintainer: Entr'ouvert <info@entrouvert.com>
|
||||
Section: python
|
||||
Priority: optional
|
||||
Build-Depends: python-setuptools (>= 0.6b3), python3-setuptools, python-all (>= 2.6.6-3), python3-all, debhelper (>= 7)
|
||||
Standards-Version: 3.9.1
|
||||
X-Python-Version: >= 2.7
|
||||
|
||||
Package: python-django-select2
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${python:Depends}, python-debian-appconf
|
||||
Description: Select2 option fields for Django
|
||||
The app includes Select2 driven Django Widgets and Form Fields.
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@ --with python2 --buildsystem=python_distutils
|
||||
|
|
@ -0,0 +1 @@
|
|||
extend-diff-ignore="\.egg-info$"
|
|
@ -7,6 +7,7 @@ isort
|
|||
pydocstyle
|
||||
pytest
|
||||
pytest-django
|
||||
pytest-rerunfailures
|
||||
selenium
|
||||
sphinx
|
||||
sphinxcontrib-spelling
|
||||
|
|
|
@ -6,29 +6,30 @@
|
|||
#
|
||||
alabaster==0.7.10 # via sphinx
|
||||
babel==2.4.0 # via sphinx
|
||||
coverage==4.3.4
|
||||
coverage==4.4.1
|
||||
django-appconf==1.0.2
|
||||
django-redis==4.7.0
|
||||
django-redis==4.8.0
|
||||
docutils==0.13.1 # via sphinx
|
||||
flake8==3.3.0
|
||||
isort==4.2.5
|
||||
isort==4.2.15
|
||||
jinja2==2.9.6 # via sphinx
|
||||
markupsafe==1.0 # via jinja2
|
||||
mccabe==0.6.1
|
||||
pydocstyle==1.1.1
|
||||
pydocstyle==2.0.0
|
||||
pep8-naming==0.4.1
|
||||
pep8==1.7.0 # via flake8
|
||||
py==1.4.33 # via pytest
|
||||
py==1.4.34 # via pytest
|
||||
pyenchant==1.6.8
|
||||
pyflakes==1.5.0 # via flake8
|
||||
pygments==2.2.0 # via sphinx
|
||||
pytest-django==3.1.2
|
||||
pytest==3.0.7
|
||||
pytest==3.1.1
|
||||
pytest-rerunfailures==2.1.0
|
||||
pytz==2017.2 # via babel
|
||||
redis==2.10.5 # via django-redis
|
||||
selenium==3.3.3
|
||||
selenium==3.4.2
|
||||
six==1.10.0 # via django-appconf, sphinx, sphinxcontrib-spelling
|
||||
snowballstemmer==1.2.1 # via sphinx
|
||||
sphinx-rtd-theme==0.2.4 # via sphinx
|
||||
sphinx==1.5.5
|
||||
sphinx==1.6.2
|
||||
sphinxcontrib-spelling==2.3.0
|
||||
|
|
|
@ -14,7 +14,6 @@ from selenium.common.exceptions import WebDriverException
|
|||
browsers = {
|
||||
'chrome': webdriver.Chrome,
|
||||
'firefox': webdriver.Firefox,
|
||||
'phantomjs': webdriver.PhantomJS,
|
||||
}
|
||||
|
||||
|
||||
|
@ -41,6 +40,7 @@ def driver(request):
|
|||
pytest.skip(force_text(e))
|
||||
else:
|
||||
b.set_window_size(1200, 800)
|
||||
b.implicitly_wait(0.1)
|
||||
yield b
|
||||
if request.param == 'chrome':
|
||||
# chrome needs a couple of seconds before it can be quit
|
||||
|
|
|
@ -343,6 +343,9 @@ class TestHeavySelect2MultipleWidget(object):
|
|||
|
||||
def test_widgets_selected_after_validation_error(self, db, live_server, driver):
|
||||
driver.get(live_server + self.url)
|
||||
WebDriverWait(driver, 60).until(
|
||||
expected_conditions.presence_of_element_located((By.ID, 'it_title'))
|
||||
)
|
||||
title = driver.find_element_by_id('id_title')
|
||||
title.send_keys('fo')
|
||||
genres, fartists = driver.find_elements_by_css_selector('.select2-selection--multiple')
|
||||
|
|
Loading…
Reference in New Issue