Commit graph

53 commits

Author SHA1 Message Date
Radomír Bosák
0ec54f5656 Fix failing behave tests
The keyring package broke backward compatibility in version 8.0 by
moving some keyring backends to another package, keyrings.alt, as
documented in the changelog [1].

This change broke behave tests which were trying to use
keyring.backends.file.PlaintextKeyring - no longer existing in keyring
package.

This commit adds the keyrings.alt package as dependency so that the
PlaintextKeyring class can be used.

[1] https://pythonhosted.org/keyring/history.html#id22
2016-12-17 21:38:31 +01:00
Manuel Ebert
0f754f97c1 Tests for writing non-unicode entries on prompt 2014-11-06 11:30:06 +01:00
Manuel Ebert
5b5c7cb6e8 Timezone parsing fix 2014-10-21 18:28:03 +02:00
Will Barrett
8fd0e2f62d Handle situation where a specified jounal is not found. 2014-10-06 16:45:25 -04:00
Manuel Ebert
0d981241ac typo 2014-08-07 13:27:48 +02:00
Manuel Ebert
2780a0d9df Tags at the beginning of lines 2014-08-07 13:25:50 +02:00
U-NA\cle1413
4d6cdc835e Add assertion to scenario that verifies a tag on a new line is recoginized as a tag. 2014-07-23 11:19:47 -04:00
Matt Hoffman
b8a3b6d9ad There should be a whitespace character in front of a tag. Fixes issue #237. 2014-07-22 22:14:26 -04:00
Manuel Ebert
4b4d29bf08 Regression test for future timestamps 2014-07-21 17:33:39 +09:00
Manuel Ebert
41d093cc19 Tests for date parsing and -on 2014-07-21 13:30:36 +09:00
Manuel Ebert
c05fdfdad7 Tests for tagging 2014-07-02 15:35:05 +02:00
Manuel Ebert
378baf17a1 Fixes xml header 2014-05-22 13:24:04 -07:00
Manuel Ebert
a0333e60d5 Fix encoding in tests 2014-05-22 12:16:26 -07:00
Craig Moyer
4442829306 Re-fix Issue #56 by changing Regex to discriminate between title and entry.
Added BDD tests to cover this feature.
2014-04-24 21:34:30 -04:00
Manuel Ebert
181c36163a Tests for ignoring invalid DayOne entries 2014-04-16 14:35:03 -04:00
Manuel Ebert
0161d834c0 Tests for #153 2014-04-16 14:26:02 -04:00
Manuel Ebert
d5496467cf Tests for filtering by tags 2014-03-19 15:00:56 -07:00
William Minchin
ca7a804b09 Convert from local util.get_local_timezone() to tzlocal.get_localzone()
one side effect is that a `pytz` object is returned rather than a
string, and so conversion to a string must be done explicitly at run
time where needed.
2014-01-29 09:57:15 -07:00
William Minchin
9e5664ba46 Fix typos in test files 2014-01-29 09:43:29 -07:00
Manuel Ebert
6c51374f08 More unicode support 2014-01-23 15:14:20 +01:00
Manuel Ebert
d34874947f Tests for #117 2013-12-22 14:52:13 +01:00
Manuel Ebert
1c7f0b351d Tests for new structure 2013-11-29 10:23:16 -08:00
Manuel Ebert
9c6db60cc4 Tests for starring 2013-11-03 20:02:28 -08:00
Manuel Ebert
967e888936 Tests for fixing errors automatically 2013-11-03 14:38:41 -10:00
Manuel Ebert
36b375831a Tests for soft-deprecating passwords in config 2013-10-20 13:43:04 -07:00
Manuel Ebert
7aa252c0ab User plain text keyring for testing 2013-10-20 13:30:42 -07:00
Manuel Ebert
ed66d76db2 Tests for storing password in keychain 2013-10-17 16:26:49 -07:00
Manuel Ebert
68cd41de40 Remove tests for having password in config 2013-10-17 16:00:45 -07:00
Manuel Ebert
d4aa08e18a Adds empty folder for testing 2013-08-28 13:37:18 -07:00
Manuel Ebert
3d49937335 Better checking for failed runs 2013-08-28 12:36:00 -07:00
Manuel Ebert
a7afed7c8b Tests for error messages on empty directories 2013-08-28 12:18:58 -07:00
Manuel Ebert
81e8e26b0a Tests for parsing DayOne entries without Timezone 2013-08-17 13:19:54 -07:00
Manuel Ebert
575026b51d Some testing goodies 2013-08-17 12:18:48 -07:00
Manuel Ebert
59de6351bc Tests for DayOne Tagging 2013-08-17 12:06:59 -07:00
Manuel Ebert
8446908139 Initial support for DayOne integration testing 2013-08-17 11:59:51 -07:00
Manuel Ebert
93813ef040 Updates tests 2013-08-14 14:06:53 -07:00
Manuel Ebert
ad98031c7f Adds regression test for #87 2013-08-14 14:00:42 -07:00
Manuel Ebert
ff0b85e28b Better tests for exporting to json 2013-08-06 18:10:42 -07:00
Manuel Ebert
3ef6095b41 Tests for filtering 2013-08-06 17:57:31 -07:00
Manuel Ebert
6bcf83ed78 Tests for tagging 2013-07-23 21:02:03 -07:00
Manuel Ebert
601e574d91 Test for decrypting journals when password is saved in config 2013-07-22 21:26:21 +02:00
Manuel Ebert
bf69e0042e Fixes encryption tests 2013-07-22 21:24:25 +02:00
Manuel Ebert
9c3841dded Changes cleaning strategy 2013-07-22 21:19:30 +02:00
Manuel Ebert
b1266dcc4e Tests for encryption 2013-07-22 20:08:53 +02:00
Manuel Ebert
0b7b88dcf0 Tests for using stderr prompts 2013-07-22 12:04:32 +02:00
Manuel Ebert
91638fd429 Tests for multiple journals 2013-07-22 10:11:37 +02:00
Manuel Ebert
7f680f6260 Python 3 compatibility for tests 2013-07-19 13:09:33 +02:00
Manuel Ebert
608cc04897 Better Python2.6 compatibility 2013-07-19 13:03:27 +02:00
Manuel Ebert
6abd7d5b68 Mock stdin 2013-07-19 12:44:39 +02:00
Manuel Ebert
3a4c87ca4c Emoji support 2013-07-19 11:46:02 +02:00