Skip to content

Commit

Permalink
Merge pull request #204 from UnitapApp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Mohamad Bastin authored Nov 30, 2023
2 parents 6bc7d8d + c90562f commit 565f37a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@ docker-down-dev:
docker-coverage-report:
docker-compose exec -i backend bash -c "coverage run manage.py test; coverage report"

docker-run-tests:
docker-compose exec -i backend bash -c "python manage.py test"

docker-run-tests-no-i:
docker-compose exec backend bash -c "python manage.py test"
docker-coverage-report-no-i:
docker-compose exec backend bash -c "coverage run manage.py test; coverage report"
4 changes: 2 additions & 2 deletions brightIDfaucet/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path, include
from django.urls import include, path

from faucet.views import artwork_view

Expand All @@ -25,7 +25,7 @@
urlpatterns = [
path("admin/", admin.site.urls),
path("pass/art/<int:token_id>/", artwork_view),
path("api/v1/", include("faucet.urls")),
path("api/gastap/", include("faucet.urls")),
path("api/auth/", include("authentication.urls")),
path("api/tokentap/", include("tokenTap.urls")),
path("api/prizetap/", include("prizetap.urls")),
Expand Down
2 changes: 1 addition & 1 deletion faucet/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
path("user/last-claim/", LastClaimView.as_view(), name="last-claim"),
path("user/claims/", ListClaims.as_view(), name="claims"),
path("claims/count/", ClaimCountView.as_view(), name="claims-count"),
path("chain/list/", ChainListView.as_view(), name="chain-list"), # can have auth token for more user specific info
path("chain/list/", ChainListView.as_view(), name="chain-list"),
path("chain/small-list/", SmallChainListView.as_view(), name="small-chain-list"),
path(
"chain/<int:chain_pk>/claim-max/",
Expand Down

0 comments on commit 565f37a

Please sign in to comment.