Skip to content

Commit

Permalink
corrected failing test that shouldn't
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederickDeny committed Mar 1, 2024
1 parent 73dcf79 commit 99c895d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_containers_singularity.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,15 @@ def test_bind_relative(self):
target = Path('/tmp/../proc/meminfo')

ref = Path('/tmp')
file = Path('/proc/meminfo')
file_ex = Path('/proc/meminfo')
home = Path.home()
paths = {ref, file_ex, home}

container.bind_file(target)
files = set(map(lambda x: x.origin, container.bound))

self.assertSetEqual({ref, file, home}, files)
for item in paths:
self.assertIn(item, files)

def test_additional_options_config(self):
container = Container(name='singularity')
Expand Down

0 comments on commit 99c895d

Please sign in to comment.