diff --git a/.travis.yml b/.travis.yml index 15b07c8..f823159 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,8 +24,6 @@ jobs: sudo: required dist: bionic language: python - addons: - chrome: stable python: - 3.6 services: @@ -33,7 +31,13 @@ jobs: - xvfb script: - sudo apt update - - sudo apt install --force-yes chromium-browser chromium-chromedriver + - sudo apt install --force-yes chromium-chromedriver + - wget https://www.dropbox.com/s/ckuoaubd1crrj2k/Linux_x64_737173_chrome-linux.zip -O chrome.zip + - unzip chrome.zip + - cd chrome-linux + - sudo rm /usr/bin/google-chrome + - sudo ln -s chrome /usr/bin/google-chrome + - cd .. - pip3 install --upgrade pip - pip3 install -U seleniumbase pytest - docker run -d -p 127.0.0.1:8080:8080/tcp $IMAGE_NAME:$TRAVIS_COMMIT @@ -45,8 +49,6 @@ jobs: sudo: required dist: bionic language: python - addons: - chrome: stable python: - 3.6 services: @@ -54,7 +56,13 @@ jobs: - xvfb script: - sudo apt update - - sudo apt install --force-yes chromium-browser chromium-chromedriver + - sudo apt install --force-yes chromium-chromedriver + - wget https://www.dropbox.com/s/ckuoaubd1crrj2k/Linux_x64_737173_chrome-linux.zip -O chrome.zip + - unzip chrome.zip + - cd chrome-linux + - sudo rm /usr/bin/google-chrome + - sudo ln -s chrome /usr/bin/google-chrome + - cd .. - pip3 install --upgrade pip - pip3 install -U seleniumbase pytest - docker build -t $IMAGE_NAME:$TRAVIS_COMMIT . diff --git a/tests/test_tweet.py b/tests/test_tweet.py index d3897fc..c49d979 100644 --- a/tests/test_tweet.py +++ b/tests/test_tweet.py @@ -28,19 +28,17 @@ invalid = [ ] multiline = [ - [1102965189392113665, 'piIIowhugs', + [1262214452826562567, 'laurenbringe_', """ -summoning circle, hope this works +Summoning circle - 🕯 - 🕯 🕯 - 🕯 🕯 - - 🕯 serotonin 🕯 - - 🕯 🕯 - 🕯 🕯 - 🕯"""], + 🕯 🕯 + 🕯 🕯 + + 🕯 Serotonin 🕯 + + 🕯 🕯 + 🕯 🕯"""], [400897186990284800, 'mobile_test_3', """