Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed May 15, 2022
1 parent bd045d1 commit fa63c7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions doc/examples.rst
Expand Up @@ -266,6 +266,7 @@ And finally, here is the contents of the *snapshots* configuration file:
# prune settings
keep_hourly = 12
prune_after_create = True
check_after_create = False
To run this configuration every 10 minutes, add the following entry to your
crontab file using 'crontab -e':
Expand Down
6 changes: 3 additions & 3 deletions tests/test_emborg.py
Expand Up @@ -52,8 +52,8 @@ def name_from_dict_keys(cases):

# schema for test cases {{{2
emborg_schema = Schema({
Required('name'): str,
Optional('args', default='<PASS>'): Any(str, list),
Required('name'): str, # this field is promoted to key by above code
Optional('args', default='PASS'): Any(str, list),
Optional('expected', default=""): str,
Optional('expected_type', default=""): str,
Optional('cmp_dirs', default=""): str,
Expand Down Expand Up @@ -114,7 +114,7 @@ def run(self):
# remove requested files and directories
if self.remove:
rm(self.remove.split())
if '<PASS>' in self.args:
if 'PASS' in self.args:
return True

# run command
Expand Down

0 comments on commit fa63c7e

Please sign in to comment.