sriniv27
0f80201517
clean up step behavior description
2021-02-12 17:54:54 -05:00
sriniv27
ccba68013c
comment on step
2021-02-12 17:54:07 -05:00
sriniv27
4f933181c6
delete redundant step
2021-02-12 17:52:57 -05:00
sriniv27
0bf4e52c9f
renamed variable
2021-02-12 17:50:13 -05:00
sriniv27
e889585935
remove unneeded imports
2021-02-12 17:47:17 -05:00
sriniv27
ec9b078a7d
capture failure mode
2021-02-09 22:52:07 -05:00
sriniv27
426deee489
reinstate getpass deletion
2021-02-09 22:51:10 -05:00
sriniv27
113d5e7318
rename variable for intent
2021-02-09 22:26:14 -05:00
sriniv27
336df64a05
remove unnecessary mocks
2021-02-09 21:09:20 -05:00
sriniv27
11f4a87b05
test that no editor is launched
2021-02-09 20:35:58 -05:00
sriniv27
93c62215d9
update for passworded access
...
context.parser -> parsed_args
2021-02-09 20:35:53 -05:00
sriniv27
1df4b74e53
move overrides earlier in the execution
...
use existing configs instead of custom
make format
clean up imports
2021-02-09 20:35:44 -05:00
sriniv27
c8e09b023f
reuse existing mock; delete unneeded code
2021-02-09 20:35:44 -05:00
sriniv27
9b80d56773
update docs
2021-02-09 20:35:44 -05:00
Suhas
d55fa4134a
Lockfile merge ( #7 )
...
* Add brew and gitter badges to README
* Update changelog [ci skip]
* Make journal selection behavior more consistent when there's a colon with no date (#1164 )
* Bump pytest from 6.2.1 to 6.2.2 (#1167 )
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.1...6.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump keyring from 21.8.0 to 22.0.1 (#1168 )
Bumps [keyring](https://github.com/jaraco/keyring ) from 21.8.0 to 22.0.1.
- [Release notes](https://github.com/jaraco/keyring/releases )
- [Changelog](https://github.com/jaraco/keyring/blob/main/CHANGES.rst )
- [Commits](https://github.com/jaraco/keyring/compare/v21.8.0...v22.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update changelog [ci skip]
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
Co-authored-by: Jrnl Bot <jrnl.bot@gmail.com>
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-01 13:22:55 -05:00
Suhas
6e658c31df
Simplify config override syntax ( #5 )
...
* update tests and expected behavior
* clean up arg parsing tests
* update deserialization
* update deserialization
* config argparse action
* update override application logic
* update tests; delete unused imports
* override param must be list
* update docstring
* update test input to SUT
* update remaining override unittests
* make format
* forgot to update CLI syntax
2021-01-31 20:17:02 -05:00
Suhas
56255cd69c
space
2021-01-28 20:52:14 -05:00
Suhas
adb7932817
make format
2021-01-28 20:52:14 -05:00
Suhas
3b7e05c69f
update tests ith better verifications
2021-01-28 20:52:04 -05:00
Suhas
9a19c370e3
skip on win
2021-01-28 20:49:47 -05:00
dependabot[bot]
3731ccbb43
Bump keyring from 21.8.0 to 22.0.1
...
Bumps [keyring](https://github.com/jaraco/keyring ) from 21.8.0 to 22.0.1.
- [Release notes](https://github.com/jaraco/keyring/releases )
- [Changelog](https://github.com/jaraco/keyring/blob/main/CHANGES.rst )
- [Commits](https://github.com/jaraco/keyring/compare/v21.8.0...v22.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-28 20:47:12 -05:00
Suhas
6e09f93f16
update tests with better verifications
...
make format
space
review feedbac
2021-01-28 20:47:00 -05:00
Suhas
b8b56124ee
stick to config convention in testbed
2021-01-28 08:36:44 -05:00
Suhas
e85300eced
formatting
2021-01-27 18:14:08 -05:00
Suhas
b2a60fd297
test different editor launch commands
2021-01-27 18:14:00 -05:00
Suhas
0f5dfade18
better, more specific behave tests
2021-01-27 18:13:10 -05:00
Suhas
0b61c6d699
update integ tests for new syntax
2021-01-25 20:33:01 -05:00
Suhas
7a54e6f458
add multiple override scenario spec
2021-01-25 08:53:35 -05:00
Suhas
bd61a78fba
unittest multiple overrides
2021-01-25 08:52:50 -05:00
Suhas
fe4f18951f
binary search misbehaving windows test
2021-01-25 07:21:34 -05:00
Suhas
27a370ce86
make format
2021-01-25 07:11:45 -05:00
Suhas
9f8be334fd
rewrite test for better mock call expect
2021-01-25 07:11:17 -05:00
Suhas
5da5027af2
update test config
2021-01-25 07:10:56 -05:00
Suhas
e173e12edf
remove unused import
2021-01-25 06:59:00 -05:00
Suhas
c8b737e459
code cleanup
2021-01-25 06:56:12 -05:00
Suhas
d348dbd55e
move override behave tests out of core
2021-01-24 19:12:59 -05:00
Suhas
ededf23afa
cleanup
2021-01-24 16:07:57 -05:00
Suhas
b92dd7edc7
make format
2021-01-24 11:10:00 -05:00
Suhas
99030c4623
iterate on behave step
2021-01-24 11:09:45 -05:00
Suhas
9bab1aee87
rewrite behavior scenario
2021-01-24 11:08:11 -05:00
Suhas
80d2c609ba
begin TDD of dot notated overrides
2021-01-24 07:18:48 -05:00
Suhas
1a8bcfca64
rename --override to --config-override
2021-01-23 21:30:33 -05:00
Suhas
f978cee899
Merge branch 'develop' of https://github.com/jrnl-org/jrnl into develop
2021-01-23 19:18:11 -05:00
eshrh
8a78c34917
Support title splitting for fullwidth CJK terminals ( #1163 )
...
* Split by fullwidth terminals without spaces.
* Add test
* Update write.feature
2021-01-23 15:29:43 -08:00
Suhas
77646eaa1a
make format
2021-01-23 11:18:13 -05:00
Suhas
43b8407ad5
implement editor override step
2021-01-23 11:08:01 -05:00
Suhas
12d2f48f97
add linewrap override scenario
2021-01-23 11:07:51 -05:00
Suhas
2fc19c41b9
start writing integration test
2021-01-21 22:48:01 -05:00
Micah Jerome Ellison
9e6cd8820f
Fix OS compatibility issues for editors with spaces, slashes, and quotes ( #1153 )
...
* Fix inverted POSIX check, refactor os_compat, and add tests for it
* Fix missing parentheses and remove skip_win on test that is passing in Windows now
* Fix expected quotes in quoted args
* Make output clearer on failing test
* Bringing skip_win back to test whose failure is a bit more complicated than expected
2021-01-16 15:19:11 -08:00
Karim Rahal
f0e8fa2060
Add new -today-in-history
, -month
, -day
, and -year
search filters ( #1145 )
...
* Introduce -reminisce, -month, -day, and -year
* Update expected_args in parse_args tests
* Add check before creating compare_d
* Misc changes
* Implement testing for -month, -day, -year, and -reminisce
* Compress tests into one Scenario Outline
* Fix failing tests by updating dates_similar journal
* Create 'we set current date and time to' step
* Use time.parse in reminisce
* Update dates_similar journal
* Make 'Searching in a journal' test shorter
* Lint
* Implement reminiscing test
* Add combination tests
* Finalize tests
* Finalize pytests
* Simplify reminisce tests
* Change reminsice help (since it also shows today's entries)
* Re-do tests; use various tests
* Remove old test data
* Better scenario description
* Standardize format for compare_d
* Rename -reminisce to -today-in-history
2021-01-16 14:55:27 -08:00