yaqwsx / Civilizace2

Game system for the second year of Civilizace
2 stars 0 forks source link

Pydantic v2 #278

Open Ondraceq opened 7 months ago

github-actions[bot] commented 7 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
manage.py12120%2–21
testing.py5180%8
backend
   asgi.py440%10–16
   urls.py330%16–19
   wsgi.py440%10–16
core
   admin.py31294%26, 53
   gsheets.py990%1–20
   routers.py16160%1–21
core/management/commands
   addarmies.py18950%10–20, 25, 28, 31
core/migrations
   0001_initial.py990%3–18
core/models
   announcement.py451078%23, 30, 39, 42, 49, 76–86
   fields.py896329%19, 22–24, 27–32, 35–37, 40, 45–47, 60–62, 65–75, 78–88, 93–98, 102–104, 107, 110–112, 115–125, 128–132
   user.py291259%26, 30, 40–52
core/serializers
   __init__.py440%1–4
   announcement.py58580%1–80
   auth.py16160%1–23
   fields.py36360%1–58
   team.py770%1–10
   user.py990%1–13
core/viewsets
   __init__.py330%1–3
   action.py50500%1–90
   announcement.py26260%1–31
   auth.py29290%1–40
   status.py660%1–8
   team.py23230%1–29
   user.py990%1–12
game
   admin.py106793%66, 70, 126, 129, 145, 179, 183
   entities.py2054379%55, 58, 61, 64, 80, 84, 88, 108–115, 126, 130, 134, 138, 149, 253, 256, 260, 264, 268, 272, 277, 281, 285, 289, 293, 297, 301, 307, 313, 317, 323, 327, 331, 335–340, 344
   entityParser.py60850517%84–90, 95, 98, 101, 120, 125–138, 141, 144–145, 151, 155–159, 162–165, 170–172, 175–178, 182–195, 213, 216, 219–220, 223–224, 228–231, 240–246, 260–264, 277–298, 307–318, 329–335, 339–343, 349–351, 355–358, 369–380, 396–399, 417–438, 449–456, 467–493, 506–540, 551–577, 581–598, 609–634, 648–662, 668–736, 747–757, 767–812, 818–825, 831–839, 845–868, 877–884, 890–894, 898–906, 912–916, 922–946, 952–953, 959–972, 980–984, 988–1000, 1004–1039, 1043–1049, 1055–1059, 1070–1283, 1292–1302, 1309–1319, 1324
   middleware.py78780%1–139
   model_serializers.py43430%1–80
   models.py29010763%25, 35, 39, 43, 46, 49–53, 59–74, 90–95, 99, 103–106, 115, 118–134, 165, 168–169, 194, 197–206, 232–239, 247, 255, 263, 269–307, 321–325, 333, 336–339, 343–345, 350, 363–365, 369, 421, 425, 431, 440–441
   routers.py31310%1–35
   serializers.py16913520%39–46, 51–53, 56–58, 73–79, 83, 86–88, 105–117, 120–127, 132–133, 136–138, 142, 152–158, 167–170, 173–185, 205–222, 230–276, 279–303
   state.py26413250%41–43, 48–59, 88, 92, 96, 100, 103–105, 109–111, 114–122, 128–137, 148, 152, 156, 160, 168, 172, 176, 180, 188–191, 194–196, 199–202, 205–209, 217–228, 231–233, 238–242, 247–252, 256, 282–284, 287–289, 294–298, 302, 310, 318, 324, 327, 330, 333, 336, 339, 342, 350–356, 359–365, 370–375, 379, 406, 423, 433–439
   stickers.py3193190%1–538
   test_serializers.py412734%18–55, 59–107
   util.py492451%30–32, 39–42, 45–47, 50, 54, 60–61, 70, 77, 83–84, 88–94
game/actions
   __init__.py47491%63–64, 68, 70
   acquireTeamAttribute.py321166%17–19, 24, 28, 32, 36–39, 46–47
   actionBase.py24915239%32, 38, 44, 54, 79, 83, 92–96, 103, 108, 113–116, 119–121, 126–128, 134–137, 143–144, 147–148, 157–160, 170–174, 183–198, 206–216, 225–227, 230–233, 236–242, 261–272, 285–286, 299–311, 320–329, 337–339, 342, 349, 355, 359, 369, 378–398, 403–440, 446–450, 458–461, 465, 475
   addResources.py291355%18–20, 25, 29–43
   armyDeploy.py14210427%28–30, 35, 39–45, 48, 54–73, 80–100, 109–111, 116, 120–123, 126, 130–247
   armyRetreat.py301453%15–17, 22, 26–34, 38–44
   armyUpgrade.py321262%18–20, 25, 29, 33–40, 46–48
   build.py381561%18–20, 25, 29, 33, 36, 42–55, 62–63
   buildUpgrade.py401562%24–26, 31, 35, 39, 42, 48–60, 67–70
   common.py664138%21–23, 37, 40–44, 47–51, 57–64, 67, 72–74, 78, 88–94, 100–119
   feed.py23674%17–19, 24, 28, 35
   godModeAction.py493137%20–22, 27, 31–81
   increaseCounter.py441859%28–30, 35, 39, 43, 47, 51–55, 62–70
   nextTurn.py23961%16–18, 23, 27–37
   researchFinish.py281257%15–17, 22, 26–31, 38–42
   researchStart.py442152%19–21, 26, 30, 34, 38–47, 51–67
   setResource.py291066%21–23, 28, 32–45
   trade.py523140%19–21, 26, 30–31, 35–56, 60–71
   vyroba.py562850%21, 30–32, 37, 41, 48, 52–62, 68–69, 76–99
   vyrobaRevert.py411954%19–21, 26, 29–30, 34, 38–46, 53–61
   withdraw.py371754%18–20, 25, 29–30, 34–46, 53–55
game/migrations
   0001_initial.py11110%3–21
game/tests
   test_builder.py252020%5–10, 14–19, 23–25, 29–39
   test_entityParser.py9811%4–16
   test_mapState.py24234%2–60
   test_state.py383313%9–52
game/tests/actions
   common.py161038%12–39
   test_actionBase.py61568%9–156
   test_armyDeploy.py3983902%13–943
   test_build.py413710%8–73
   test_feed.py65608%9–133
   test_increaseCounterNew.py141121%6–19
   test_nextTurn.py32306%3–44
   test_research.py76717%8–155
   test_trade.py63588%14–203
   test_vyroba.py1151104%8–212
   test_withdraw.py383313%9–55
TOTAL4970342531% 

Tests Skipped Failures Errors Time
26 0 :zzz: 0 :x: 26 :fire: 2.427s :stopwatch: