Skip to content

Commit

Permalink
tests: Mock inputrc by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Oct 22, 2022
1 parent 68ebb4a commit 4ebcd02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import argparse
import contextlib
import os
import os.path
import shutil
import subprocess
import sys
Expand Down Expand Up @@ -40,6 +41,10 @@
FISH_VERSION_TUPLE = tuple(int(x) for x in FISH_VERSION_STR.split("."))


def setUpModule():
os.environ['INPUTRC'] = os.path.join(os.path.dirname(__file__), 'inputrc')


class TempDir(object):
"""
Temporary directory for testing FilesCompletion
Expand Down

0 comments on commit 4ebcd02

Please sign in to comment.