cclauss
|
434c6c2fc3
|
Update test_database.py
|
2017-07-04 07:41:34 +02:00 |
|
cclauss
|
d5b6f8fd26
|
Remove redundant builds
|
2017-07-04 07:39:20 +02:00 |
|
cclauss
|
aa16c65400
|
Database().get_all() --> numbered_ids
|
2017-07-04 07:38:20 +02:00 |
|
cclauss
|
d79dec81dd
|
int --> id
|
2017-07-04 07:35:17 +02:00 |
|
cclauss
|
4de38c717d
|
Update test_database.py
|
2017-07-04 07:30:43 +02:00 |
|
cclauss
|
41a5240c53
|
is_instance --> isinstance
|
2017-07-04 07:12:09 +02:00 |
|
cclauss
|
df5fe70a35
|
Fix TravisCI
|
2017-07-04 07:06:31 +02:00 |
|
cclauss
|
1899c67b17
|
test_ids() and test_thresholds()
|
2017-07-04 06:51:48 +02:00 |
|
cclauss
|
832049e998
|
Create test_utils.py
|
2017-07-04 01:50:48 +02:00 |
|
cclauss
|
f9cdee86ff
|
from test_utils import region_dict
|
2017-07-04 01:49:14 +02:00 |
|
cclauss
|
09dc66f488
|
from test_utils import expected_len
|
2017-07-04 01:47:07 +02:00 |
|
cclauss
|
6058e1c433
|
Remove tuple_store testing
|
2017-07-03 19:04:25 +02:00 |
|
cclauss
|
a5f27b71ac
|
Adds make_extra_counts() utility function
|
2017-07-03 14:17:18 +02:00 |
|
cclauss
|
9a342b455a
|
Properly accounts for extra counts in the regions
|
2017-07-03 14:15:47 +02:00 |
|
cclauss
|
7fceb101e8
|
Update test_datbase.py
|
2017-07-02 22:35:27 +02:00 |
|
cclauss
|
53833fb994
|
Create test_broken.py
|
2017-07-02 22:34:21 +02:00 |
|
cclauss
|
353985dfa7
|
Pytests of the database
|
2017-07-02 13:09:53 +02:00 |
|
Lazo
|
1456fbae2c
|
Merge pull request #80 from samosaara/master
FIxes line length and custom pokemon loading.
|
2017-07-01 13:16:33 -04:00 |
|
Samuel Henrique
|
f7be3ea7b0
|
FIxes line length and custom pokemon loading.
|
2017-07-01 13:50:54 -03:00 |
|
Lazo
|
8a6e42c051
|
Merge pull request #75 from cclauss/patch-2
De-duplication: nidoran*2 --> nidoran-f, nidoran-m
|
2017-07-01 12:40:50 -04:00 |
|
Lazo
|
3b5c97d188
|
Merge pull request #78 from samosaara/patch-1
Update README.md
|
2017-07-01 12:40:15 -04:00 |
|
Samuel Henrique
|
622f65e018
|
Identation.
|
2017-07-01 09:44:01 -03:00 |
|
Samuel Henrique
|
a6c057175c
|
Update README.md
Install instructions and new type sub-command.
|
2017-07-01 09:39:41 -03:00 |
|
cclauss
|
b363a479a8
|
De-duplication: nidoran*2 --> nidoran-f, nidoran-f
The need for this change is discussed at
https://github.com/LazoCoder/Pokemon-Terminal/pull/70#pullrequestreview-47279098
The other two possibilities, nidoran-♀ and nidoran-♂ were discussed there.
@samosaara Please review this PR.
|
2017-07-01 05:01:56 +02:00 |
|
Lazo
|
83fa1c30e1
|
Merge pull request #70 from samosaara/master
Improves and unifies pokemon database, type subcommand
|
2017-06-30 18:53:05 -04:00 |
|
Lazo
|
45d4146b2f
|
Merge branch 'master' into master
|
2017-06-30 17:37:05 -04:00 |
|
Lazo
|
596ff7ec6e
|
Merge pull request #60 from cclauss/patch-2
Create .travis.yml
|
2017-06-30 17:08:53 -04:00 |
|
Lazo
|
4b2fbb4dba
|
Merge pull request #69 from cclauss/patch-4
Make main() a separate function so we can test it
|
2017-06-30 17:05:52 -04:00 |
|
Samuel Henrique
|
26b2c396b6
|
Local escape code variables.
|
2017-06-29 16:36:16 -03:00 |
|
Samuel Henrique
|
4fc2c613ef
|
Type commands
|
2017-06-29 15:17:16 -03:00 |
|
cclauss
|
7e84a4f5c6
|
Create a global Database instance at startup time
|
2017-06-29 19:42:55 +02:00 |
|
cclauss
|
7b4a7656fc
|
Remove Python 2 from testing and add Python 3.5.0
Pokemon-Terminal does not support Python 2.
|
2017-06-29 19:08:52 +02:00 |
|
cclauss
|
911dff25f3
|
named_tuple --> namedtuple
|
2017-06-29 18:59:02 +02:00 |
|
Samuel Henrique
|
382bd801f9
|
Unifies database and adds pokemon types
|
2017-06-29 13:40:06 -03:00 |
|
cclauss
|
2159a6b52f
|
end = len(db) if region_name == "extra" else region_record.end
|
2017-06-29 09:43:56 +02:00 |
|
cclauss
|
c02d469144
|
Added test_regions()
|
2017-06-29 09:25:12 +02:00 |
|
cclauss
|
9c5b040571
|
Make main() a separate function so we can test it
This will enable us to use [pytest](https://docs.pytest.org) to do end-to-end tests like:
https://github.com/LazoCoder/Pokemon-Terminal/pull/60/files#diff-1532f81ff7af5d26a72ae57cdbeabb53R19
|
2017-06-29 09:00:39 +02:00 |
|
cclauss
|
7c10577226
|
pytest --capture=sys # for testing text on stdout
|
2017-06-28 06:44:37 +02:00 |
|
cclauss
|
16c49a97c1
|
Make main() a separate function so we can test it
|
2017-06-28 06:40:52 +02:00 |
|
cclauss
|
29a5f4c0f8
|
Create test_main.py
To run the tests do: `python -m pytest --capture=sys`
|
2017-06-28 06:36:06 +02:00 |
|
cclauss
|
39b4e4d3fc
|
Undoing ALL the changes to unittest.py
|
2017-06-28 06:20:44 +02:00 |
|
cclauss
|
3923f8f8e2
|
Undoing changes to unittest.py
|
2017-06-28 06:19:18 +02:00 |
|
cclauss
|
89b1992504
|
Three pytest tests
|
2017-06-28 00:16:00 +02:00 |
|
cclauss
|
7512521244
|
Install and run pytest
|
2017-06-28 00:14:08 +02:00 |
|
Lazo
|
b32ed4b9e2
|
Merge pull request #63 from IamCarbonMan/master
Added light and dark options
|
2017-06-25 19:02:49 -04:00 |
|
Griffin Young
|
f21446be6e
|
fixed light threshold
|
2017-06-25 15:39:03 -07:00 |
|
Griffin Young
|
04f665f970
|
fix help message and name vs id conflict
|
2017-06-25 13:07:45 -07:00 |
|
Griffin Young
|
62fceca4fa
|
changed id -> name in light/dark data file
|
2017-06-25 12:25:40 -07:00 |
|
IamCarbonMan
|
46da64488a
|
Update README.md
|
2017-06-25 11:26:03 -07:00 |
|
IamCarbonMan
|
97ce1dafc7
|
Merge branch 'master' into master
|
2017-06-25 11:17:58 -07:00 |
|