Skip to content

Commit

Permalink
Update utils_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lra committed Nov 5, 2023
1 parent c5edcab commit 926622e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def test_error(self):
def test_failed_backup_location(self):
"""
Tests for the error that should occur if the backup folder cannot be
found for Dropbox, Google, and Copy
found for Dropbox and Google
"""
# Hack to make our home folder some temporary folder
temp_home = tempfile.mkdtemp()
Expand All @@ -297,12 +297,6 @@ def test_failed_backup_location(self):
)
self.assertRaises(SystemExit, utils.get_google_drive_folder_location)

# Check for the missing Copy Folder
assert not os.path.exists(
os.path.join(temp_home, "Library/Application Support/Copy Agent/config.db")
)
self.assertRaises(SystemExit, utils.get_copy_folder_location)

def test_is_process_running(self):
# A pgrep that has one letter and a wildcard will always return id 1
assert utils.is_process_running("a*")
Expand Down

0 comments on commit 926622e

Please sign in to comment.