From 4c39327b043f7fe57e3c89763cea3522f21388e8 Mon Sep 17 00:00:00 2001 From: alvarob96 Date: Thu, 13 Dec 2018 19:11:57 +0100 Subject: [PATCH] tests & path error fix --- .idea/investing_scrapper.iml | 2 +- .idea/modules.xml | 2 +- .idea/workspace.xml | 443 +++++++++++------- data/tickers.csv | 233 --------- investing_scrapper/{data.py => Data.py} | 8 +- investing_scrapper/__init__.py | 24 +- .../__pycache__/__init__.cpython-36.pyc | Bin 2877 -> 3056 bytes .../__pycache__/data.cpython-36.pyc | Bin 636 -> 643 bytes .../__pycache__/tickers.cpython-36.pyc | Bin 1273 -> 1271 bytes .../__pycache__/user_agent.cpython-36.pyc | Bin 435 -> 577 bytes investing_scrapper/resources/__init__.py | 0 .../__pycache__/__init__.cpython-36.pyc | Bin 0 -> 170 bytes investing_scrapper/resources/tickers.csv | 233 +++++++++ .../resources}/user-agent-list.txt | 0 investing_scrapper/tests/__init__.py | 0 investing_scrapper/tests/tickers_test.py | 7 + investing_scrapper/tickers.py | 14 +- investing_scrapper/user_agent.py | 5 +- setup.py | 4 +- 19 files changed, 543 insertions(+), 432 deletions(-) delete mode 100644 data/tickers.csv rename investing_scrapper/{data.py => Data.py} (56%) create mode 100644 investing_scrapper/resources/__init__.py create mode 100644 investing_scrapper/resources/__pycache__/__init__.cpython-36.pyc create mode 100644 investing_scrapper/resources/tickers.csv rename {data => investing_scrapper/resources}/user-agent-list.txt (100%) create mode 100644 investing_scrapper/tests/__init__.py create mode 100644 investing_scrapper/tests/tickers_test.py diff --git a/.idea/investing_scrapper.iml b/.idea/investing_scrapper.iml index c8efcbb4..67116063 100644 --- a/.idea/investing_scrapper.iml +++ b/.idea/investing_scrapper.iml @@ -2,7 +2,7 @@ - + diff --git a/.idea/modules.xml b/.idea/modules.xml index dfd29fa3..2b6acd34 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b1ac0677..9c3767cb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,18 +2,16 @@ - - - - - - - - - - - - + + + + + + + + + + - - + + - - - - - + + + + + + + + + + + - - + + - - + + - + - - + + + + + - + - - + + @@ -75,15 +86,47 @@ - - + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + @@ -106,7 +149,7 @@ Tresc Caixabank selectBox - Abengoa B + Atresmedia Abengoa Aben @@ -116,10 +159,18 @@ 03. 04. 02. + unidecode + get + ../ + Date + convert_tickers_into_csv + print + <table + resources - @@ -167,6 +222,7 @@ + @@ -177,18 +233,24 @@ - + + + + + + + +