Commit graph

396 commits

Author SHA1 Message Date
Lazo
854ae82e9c Merge pull request #97 from cclauss/patch-7
Create the pokemon_list outside of the Database (round II)
2017-08-09 22:12:22 -04:00
Samuel Henrique
df493e32b6 Updates readme 2017-07-09 11:45:13 -03:00
Samuel Henrique
cc51b5d957 More testing
- Main resets the pokemon list if not called directly
2017-07-07 16:03:00 -03:00
Samuel Henrique
d96d4a8bb5 More testing
- Adds new tests of the new command engine
- Regions and pokemon types and names are now case insensitive
-  Roll back some of the removed tests.
2017-07-06 12:32:27 -03:00
Lazo
9c69a57ec6 Merge pull request #100 from cclauss/patch-2
Add base_terminal to testing
2017-07-05 22:29:34 -04:00
Samuel Henrique
c9d406124a Upgrades travis to 3.6 2017-07-05 22:59:41 -03:00
Samuel Henrique
c045a59b3a Keeping up with master 2017-07-05 22:56:43 -03:00
Samuel Henrique
8ea75caa39 Fixes testing - Adds extras filter 2017-07-05 22:39:28 -03:00
cclauss
9cc2fc5c07 The caedus maneuver for one-based enumeration
@caedus75 nice one!
2017-07-06 03:06:36 +02:00
cclauss
86d32e8512 Test the adapter.base.TerminalAdapterInterface 2017-07-06 02:46:32 +02:00
cclauss
80fd1e3aad Add test_adapter_base(): 2017-07-06 02:35:20 +02:00
cclauss
03f88090a8 Add base_terminal to testing 2017-07-06 02:28:29 +02:00
cclauss
125d174e01 Facilitate testing 2017-07-06 02:15:45 +02:00
Lazo
4f5dafc6c4 Merge pull request #99 from cclauss/patch-4
python3 -V
2017-07-05 20:07:07 -04:00
cclauss
68062365cc Leverage test_utils.py 2017-07-06 02:04:06 +02:00
cclauss
368aea5c62 python3 -V 2017-07-06 01:53:21 +02:00
Lazo
2ba849569b Merge pull request #98 from cclauss/patch-2
Fix typo: ou--> out
2017-07-05 19:47:45 -04:00
Samuel Henrique
e50ed96a82 Keeping up with mater 2017-07-05 20:41:14 -03:00
Samuel Henrique
c20471d964 Pokemon ID and list backup
- Implements pokemon ID filtering
- Filter class now keeps a backup of the pokemon list.
2017-07-05 20:35:46 -03:00
cclauss
a5ccc5e01b Fix typo: ou--> out 2017-07-06 00:57:14 +02:00
cclauss
e4d68efdb6 test_utils 2017-07-06 00:48:12 +02:00
Lazo
4c04220f1a Update README.md 2017-07-05 18:35:44 -04:00
Lazo
4b82499a50 Merge pull request #93 from cclauss/patch-2
Simplify print_columns(), print_types(), fix #89
2017-07-05 18:16:15 -04:00
Lazo
dfbdf3407a Merge pull request #90 from cclauss/patch-6
More tests in test_main.py
2017-07-05 18:15:49 -04:00
Lazo
607ffdcd4e Merge pull request #82 from cclauss/patch-4
Pytests of the database
2017-07-05 18:14:49 -04:00
cclauss
49f2840c6a Facilitate running of the tests locally 2017-07-05 11:36:49 +02:00
cclauss
41e499c172 Added tests
This PR is ready for review
2017-07-05 11:14:52 +02:00
cclauss
7337030790 Update test_database.py 2017-07-05 10:13:42 +02:00
cclauss
2f6da0b042 Create the pokemon_list outside of the Database
A second attempt at #73 **without** the tuple store idea.
2017-07-05 08:52:23 +02:00
Samuel Henrique
51d05491dd Dark and light thresholds
Both are configurable in the new engine, but the defaults:
- Light increased to 0.7
- Dark decreased to 0.42
2017-07-04 16:59:51 -03:00
Samuel Henrique
bf6fda807d Command engine rework
- Changes visibility REGIONS, MAX_ID, and POKEMON_TYPES to public class constants.
- Reworks the comand engine with argparse
2017-07-04 15:33:23 -03:00
cclauss
fb91bde48e Update main.py 2017-07-04 20:07:34 +02:00
cclauss
c4784fb267 Simplify print_columns(), print_types(), fix #89
Should fix #89
2017-07-04 20:05:56 +02:00
cclauss
d144d8a219 Placate flake8 2017-07-04 15:56:22 +02:00
cclauss
894a222787 Revert travis changes 2017-07-04 15:46:08 +02:00
Lazo
682ab32c3f Merge pull request #88 from cclauss/patch-2
Remove the comma that is halting our tests
2017-07-04 09:41:14 -04:00
Lazo
c133b5d015 Merge pull request #87 from samosaara/master
Fix errors from #84
2017-07-04 09:40:54 -04:00
Samuel Henrique
1735d731bf Adds suggested sanity checks 2017-07-04 10:20:11 -03:00
cclauss
5e4badac3c Update .travis.yml 2017-07-04 15:00:28 +02:00
cclauss
eb63b5eeb7 test_adapter_methods() 2017-07-04 13:23:12 +02:00
cclauss
3256c959f0 Create test_scripter.py 2017-07-04 12:21:55 +02:00
cclauss
6864997cab on_failure: never # always will be the setting once code changes slow down 2017-07-04 10:48:58 +02:00
cclauss
3953765b83 --max-complexity=10 2017-07-04 10:47:10 +02:00
cclauss
ba34d9148e Undo .travis.yml changes 2017-07-04 10:35:01 +02:00
cclauss
cff8616444 Update .travis.yml 2017-07-04 10:32:45 +02:00
cclauss
50880c93b1 More tests in test_main.py
Only merge **after** PR #82.  This PR leverages the new test_util.py (in PR #82) for common test data and functions.

The only test that should fail is `test_extra()` which is caused by issue #89
2017-07-04 10:28:43 +02:00
cclauss
fbae1079a2 len(db.get_all()) == MAX_ID + len(db.get_extra()) 2017-07-04 08:11:46 +02:00
cclauss
2ac10b67ce Revert adding test_main.py 2017-07-04 08:05:04 +02:00
cclauss
2e9c5964d5 test_main uses test_utils plus more tests 2017-07-04 08:01:39 +02:00
cclauss
70ed2d0fb4 for id_str in numbered_ids 2017-07-04 07:45:47 +02:00