Skip to content

PlotTester.assert_title_contains() will occasionally fail keywords with spaces #182

@nkorinek

Description

@nkorinek

PlotTester.assert_title_contains() will occasionally fail keywords with spaces. This was discovered on a plot where the output of plot_tester.get_title() was ('', 'HW Plot 1: Lidar Max vs. InSitu Max Tree Height\nSan Joaquin Field Site') and the failed keywords list was ["SJ", "SJER", "San Joaquin"]. If the space is taken out of "San Joaquin" to make it "SanJoaquin" the test passes. It could be that we just don't allow keywords with spaces, but that should be documented if that's the case. If we do decide to allow spaces, I believe it will be a rather easy fix. @lwasser

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions