Commit Graph

59 Commits

Author SHA1 Message Date
Jonathan Strong
e14c8eda45 improved House amendment action regex in parse_amendment_action to catch three edge cases. 2014-10-24 11:29:11 -04:00
Lindsay Young
711fa417cf Adding more data valadition and formatting to bill ids 2014-06-06 11:20:24 -04:00
Lindsay Young
cd01556ede removing print statement 2014-06-05 14:24:16 -04:00
Lindsay Young
30613c2475 adaped tests to new code 2014-06-05 14:07:01 -04:00
hugovk
2030575755 Use a local commitees-current.yaml fixture instead of doing a network call 2014-06-01 21:53:17 +03:00
hugovk
0fa926c054 pep8/pyflakes 2014-05-30 16:38:10 +03:00
hugovk
4df04f00b2 Need to clone the congress-legislators repo for a test 2014-05-30 16:22:39 +03:00
Lindsay Young
b2ce088dc5 working 2014-05-28 19:44:07 -04:00
Lindsay Young
c374388da8 added other meeting docs and tests for house hearings 2014-05-28 19:14:29 -04:00
Eric Mill
1d2b57a026 Test for a new variant on cloture motions 2014-05-16 17:55:39 -04:00
Eric Mill
40fcbd1e0c I'm not sure what this doing and it was halting tests 2014-05-16 17:55:25 -04:00
Will Van Wazer
04d494856f Automated PEP8 refactoring with autopep8. 2014-04-28 22:39:50 -04:00
Drew Vogel
376cc734e0 Added a timeout option for http reads.
This requires scrapelib==0.9.1 or higher.
2014-03-31 13:57:23 -04:00
Joshua Tauberer
4d1c92743c fix test per 7b47095d19
The previous status going into a Became Public Law action has changed.
2014-03-20 20:07:00 -04:00
Joshua Tauberer
62b8aca1a8 tests broke in 3922aa766d because I changed the call signature of bill_info.parse_bill_action 2014-01-30 15:08:07 -05:00
Peter Arzhintar
ef57542f92 Oops. Remove debugging prints statements. 2013-12-23 12:34:30 -08:00
Peter Arzhintar
41662fc79d Preserve paragraph breaks in summary 2013-12-23 10:20:34 -08:00
Eric Mill
ff4652acc6 Be bolder about assuming committee chamber-ship using bill origin 2013-10-07 17:22:03 -04:00
Eric Mill
541827d350 Shored up committee detection, accepting some warnings for ambiguous committees (e.g. Appropriations, Budget, Judiciary, when mentioned without a parent committee chamber) 2013-10-07 17:10:40 -04:00
Daniel Cloud
4f01988cf7 Refactor bill_info to look for committee names separately from identifying referrals. Updated utils.fetch_committee_names to alias so we still get matches when parentheticals are omitted. 2013-10-07 10:03:37 -04:00
Daniel Cloud
0d26e32977 Pull committee names from action text and match to committee ids. Fails on occassions when the committee name is truncated in actions, such as 'House Intelligence' rather than 'House Intelligence (Permanent Select)'. 2013-10-02 17:26:26 -04:00
Eric Mill
565bdc91b5 Flag hearings held, and the committee name 2013-03-06 12:33:04 -05:00
Eric Mill
d59791d850 Ignore introductory remarks in calculating activity 2013-03-06 12:08:31 -05:00
Eric Mill
47597daae7 Mark a referral properly even when the word On is missing 2013-03-06 11:49:56 -05:00
Eric Mill
546601e6b7 Change and compress activation logic to always ignore calendar and referral actions 2013-03-05 17:56:55 -05:00
Eric Mill
1e3399fbb8 Add history.active and history.active_at flags, under a few identified common situations. Possible other tests/situations will need to be added. Also catches disagreements to Senate resolutions better. 2013-03-05 17:04:42 -05:00
Eric Mill
544afd79ff Moved committee mapping fetching to a utils method with a globally cached map, to remove it from the method signatures of the main process. Also added a (version controlled) cache dir in the test/fixtures folder so that tests don't hit the network 2012-11-15 19:09:49 -05:00
GovTrack.us
037aa0ea59 tests broken by committees changes in 8fec725491 2012-10-31 18:29:04 -04:00
Eric Mill
708b10cf55 Fixed test on slip law number, whoops 2012-10-15 18:09:45 -04:00
Eric Mill
3ea2ff385a Comment out tests about non-passage/cloture votes 2012-10-02 22:49:18 -04:00
Eric Mill
1b278cccf5 Made an enacted test pass 2012-10-02 22:46:26 -04:00
Eric Mill
b8d78ccd28 Got another cloture vote unit test passing 2012-10-02 22:27:52 -04:00
Eric Mill
effc394bd6 unneeded comments 2012-10-02 12:48:54 -03:00
Eric Mill
0b55f86fe8 Also rename test runner script 2012-10-01 17:49:23 -04:00
Eric Mill
da5479f4db Fix failing test since switching to use bare dates and not full timestamps when appropriate 2012-09-08 16:30:00 -04:00
Eric Mill
e3948440bb Test file wasn't properly returning non-zero code when test suite had exceptions 2012-09-08 16:28:48 -04:00
Eric Mill
b376dc5b46 Re-success test test 2012-09-03 23:53:03 -04:00
Eric Mill
faabbb89d4 Test failing test test 2012-09-03 23:31:00 -04:00
Eric Mill
ce1c46bb81 Return proper exit code if tests fail 2012-09-03 23:30:51 -04:00
Eric Mill
a5778910ed Extract other bills mentioned in action lines 2012-09-03 23:14:48 -04:00
Eric Mill
70b4706d65 Switched bill action parsing to take in bill ID instead of bill type, more flexible and gives parsing access to session of bill being parsed 2012-09-03 23:06:18 -04:00
Eric Mill
28b92e87c4 Renamed test file 2012-09-03 22:59:47 -04:00
Eric Mill
d1d5887ba0 Pull out the current titles of each type 2012-09-03 22:58:21 -04:00
Eric Mill
e078ba09df Added special rule test 2012-09-03 22:40:14 -04:00
Eric Mill
d0be14d796 Some basic timeline flag determination code, and a simple unit test on PPACA 2012-09-03 22:21:50 -04:00
Eric Mill
947f55ac93 Filled in where, result, and how for vote parsing 2012-09-03 20:16:38 -04:00
Eric Mill
9f61d5e1e8 Added fixtures, a simple script to easily load and parse them 2012-09-03 19:42:26 -04:00
Eric Mill
1ccf3552fe Renamed test to actions, more holistic timeline test coming next 2012-09-03 19:18:17 -04:00
Eric Mill
f13939787b Merged tests back in, proved to not be that many non-vote tests 2012-09-03 19:17:02 -04:00
Eric Mill
a333dd3c1c Removed c/p-ed comments 2012-09-03 18:50:12 -04:00