deba/test_utils.py
def assertFileContent(self, filename: str, lines: typing.List[str]) -> float:
        """Asserts file content and returns modified time as seconds since the epoch"""
        with open(self.file_path(filename), "r") as f:
            self.assertEqual(
                f.read(),
                "\n".join(lines),
            )
        return self.mod_time(filename)
Asserts file content and returns modified time as seconds since the epoch
Asserts file content and returns modified time as seconds since the epoch
Asserts file content and returns modified time as seconds since the epoch
def assertFileContent(self, filename: str, lines: typing.List[str]) -> float:
        with open(self.file_path(filename), "r") as f:
            self.assertEqual(
                f.read(),
                "\n".join(lines),
            )
        return self.mod_time(filename)
def assertFileContent ( self , filename : str , lines : typing . List [ str ] ) -> float : with open ( self . file_path ( filename ) , "r" ) as f : self . assertEqual ( f . read ( ) , "\n" . join ( lines ) , ) return self . mod_time ( filename )
Asserts file content and returns modified time as seconds since the epoch
Asserts file content and returns modified time as seconds since the epoch
"""Asserts file content and returns modified time as seconds since the epoch"""
self
filename
str
lines
typing.List[str]