Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeError when use Blueprint.group() to group blueprint with defa… #1334

Merged
merged 5 commits into from
Oct 11, 2018

Conversation

chenjr0719
Copy link
Member

…ult url_prefix, Use os.path.normpath to avoid invalid url_prefix like api//v1

…ult url_prefix, Use os.path.normpath to avoid invalid url_prefix like api//v1
bp.url_prefix = url_prefix + bp.url_prefix
bp.url_prefix = os.path.normpath(bp.url_prefix)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it should call normpath here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yunstanford there's a discussion regarding this on #1325, @chenjr0719 just needs to update the PR afaik.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vltr @yunstanford I just remove normpath to make this PR simple and focus on the original issue about default value of url_prefix.

@codecov-io
Copy link

codecov-io commented Oct 10, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@1498baa). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1334   +/-   ##
=========================================
  Coverage          ?   81.43%           
=========================================
  Files             ?       17           
  Lines             ?     1675           
  Branches          ?      319           
=========================================
  Hits              ?     1364           
  Misses            ?      244           
  Partials          ?       67

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1498baa...be580a6. Read the comment docs.

Copy link
Member

@ahopkins ahopkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the css file for?

@chenjr0719
Copy link
Member Author

@ahopkins Oops, my bad. The css file is created by pytest-html which I used to trace the output and log of unit test. I forgot to clean it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants