refactor: store file in position, rename filename to file_name
Signed-off-by: Konstantin Fickel <mail@konstantinfickel.de>
This commit is contained in:
parent
d5b1541436
commit
79095bad4a
8 changed files with 27 additions and 24 deletions
|
|
@ -32,7 +32,7 @@ repository_configuration = RepositoryConfiguration(
|
|||
class TestExtractDateTime:
|
||||
def test_project_simple_stream_file(self):
|
||||
stream_file = StreamFile(
|
||||
filename="20250622-121000 Test File.md",
|
||||
file_name="20250622-121000 Test File.md",
|
||||
shard=Shard(start_line=1, end_line=1, markers=["Streamer"]),
|
||||
)
|
||||
|
||||
|
|
@ -45,5 +45,5 @@ class TestExtractDateTime:
|
|||
start_line=1,
|
||||
end_line=1,
|
||||
children=[],
|
||||
location={"project": "streamer"},
|
||||
location={"project": "streamer", "file": stream_file.file_name},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue