sapling/eden/cli
Abhishek Pamecha ff34345eda Fix a test failing in TestWarden
Summary:
The test was failing because it was trying to run pgrep  which was failing. This happened even before the point where the code to be tested was executed.

It is fixed by mocking that part of code as well where the pgrep command was executed as that code is irrelevant to the subject of the test.

A similar other test is also fixed to avoid repeating this kind of failure there.

Reviewed By: pkaush

Differential Revision: D10356357

fbshipit-source-id: 0336e047329d7bfe55e74fc33a468492c319c7ae
2018-10-12 09:49:56 -07:00
..
test Fix a test failing in TestWarden 2018-10-12 09:49:56 -07:00
buck.py refactor and split out some cli functions 2018-05-10 13:49:44 -07:00
cmd_util.py update the debug subcommands to use find_checkout() 2018-08-22 11:06:48 -07:00
config.py remove support for non-toml configs 2018-10-10 12:49:16 -07:00
configinterpolator.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
configutil.py Eden should support toml configuration files 2018-08-03 17:06:41 -07:00
daemon.py Add some 'eden stop' tests 2018-09-26 13:23:03 -07:00
debug.py Format with black 18.9b0 2018-10-01 08:06:47 -07:00
doctor.py Add test for multiple edenfs to eden doctor 2018-10-11 18:55:28 -07:00
filesystem.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
fsck.py fsck: report all orphan inodes as single error 2018-08-31 19:06:25 -07:00
main.py Add test for multiple edenfs to eden doctor 2018-10-11 18:55:28 -07:00
mtab.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
overlay.py Format with black 18.9b0 2018-10-01 08:06:47 -07:00
process_finder.py Add test for multiple edenfs to eden doctor 2018-10-11 18:55:28 -07:00
rage.py Add test for multiple edenfs to eden doctor 2018-10-11 18:55:28 -07:00
stats_print.py Implement cli method for fetching thrift-latency 2018-08-30 06:23:38 -07:00
stats.py Implement cli method for fetching thrift-latency 2018-08-30 06:23:38 -07:00
subcmd.py update the debug subcommands to use find_checkout() 2018-08-22 11:06:48 -07:00
top.py add top pids to eden top output 2018-09-10 13:52:52 -07:00
ui.py refactor terminal output handling in eden doctor 2018-07-18 18:36:52 -07:00
util.py Add test for multiple edenfs to eden doctor 2018-10-11 18:55:28 -07:00
version.py rename the CLI's "Config" class to "EdenInstance" 2018-08-15 21:36:18 -07:00