Skip to content

Commit 831e5df

Browse files
dwighthubbardDwight Hubbard
andauthored
Interpreter bin command test fix (#102)
* Make validate_style actually use the directories for the packages from the package metadata. * Make validate_style actually use the directories for the packages from the package metadata. * Make validate_style actually use the directories for the packages from the package metadata. * Fix test since the interpreter can have the version at the end Co-authored-by: Dwight Hubbard <dhubbard@verizonmedia.com>
1 parent 8ee0d43 commit 831e5df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test__flush_terminals(self):
123123
def test__interpreter_bin_command__default(self):
124124
result = interpreter_bin_command()
125125
self.assertIsInstance(result, (str))
126-
self.assertTrue(result.endswith('/python'))
126+
self.assertIn('/python', result)
127127
self.assertTrue(os.path.exists(result))
128128

129129
def test__interpreter_bin_command__command_exists(self):

0 commit comments

Comments
 (0)