Skip to content

[Fixes #12326] Assets: implement migration for old uploaded files (#1…

Codecov / codecov/patch failed Sep 24, 2024 in 1s

0.00% of diff hit (target 64.25%)

View this Pull Request on Codecov

0.00% of diff hit (target 64.25%)

Annotations

Check warning on line 29 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L20-L29

Added lines #L20 - L29 were not covered by tests

Check warning on line 31 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L31

Added line #L31 was not covered by tests

Check warning on line 38 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L33-L38

Added lines #L33 - L38 were not covered by tests

Check warning on line 41 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L41

Added line #L41 was not covered by tests

Check warning on line 43 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L43

Added line #L43 was not covered by tests

Check warning on line 49 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L48-L49

Added lines #L48 - L49 were not covered by tests

Check warning on line 57 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L57

Added line #L57 was not covered by tests

Check warning on line 67 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L66-L67

Added lines #L66 - L67 were not covered by tests

Check warning on line 70 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L70

Added line #L70 was not covered by tests

Check warning on line 72 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L72

Added line #L72 was not covered by tests

Check warning on line 74 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L74

Added line #L74 was not covered by tests

Check warning on line 76 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L76

Added line #L76 was not covered by tests

Check warning on line 78 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L78

Added line #L78 was not covered by tests

Check warning on line 81 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L81

Added line #L81 was not covered by tests

Check warning on line 83 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L83

Added line #L83 was not covered by tests

Check warning on line 87 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L86-L87

Added lines #L86 - L87 were not covered by tests

Check warning on line 91 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L90-L91

Added lines #L90 - L91 were not covered by tests

Check warning on line 95 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 97 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L97

Added line #L97 was not covered by tests

Check warning on line 99 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L99

Added line #L99 was not covered by tests

Check warning on line 101 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L101

Added line #L101 was not covered by tests

Check warning on line 103 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L103

Added line #L103 was not covered by tests

Check warning on line 105 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L105

Added line #L105 was not covered by tests

Check warning on line 108 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L108

Added line #L108 was not covered by tests

Check warning on line 112 in geonode/assets/management/commands/migrate_file_to_assets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

geonode/assets/management/commands/migrate_file_to_assets.py#L110-L112

Added lines #L110 - L112 were not covered by tests