Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
fix: Refactor creating the INSERT command, use the config file for da…
Browse files Browse the repository at this point in the history
…tatypes
  • Loading branch information
rsavoye committed Dec 20, 2023
1 parent 8924a37 commit ca1a9aa
Show file tree
Hide file tree
Showing 2 changed files with 240 additions and 120 deletions.
4 changes: 3 additions & 1 deletion tests/test_yamlfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@
def test_all():
yaml = YamlFile(config)
# yaml.dump()
data = yaml.getEntries()
# data = yaml.getEntries()
hits = 0
# Test for the datatype
if data['id']['datatype'] == 'int64':
hits += 1

if data['difficulty']['datatype'] == 'Projectdifficulty':
hits += 1

# Test for one of the flags
if data['mapper_level']['share'] == True:
hits += 1

Expand Down
Loading

0 comments on commit ca1a9aa

Please sign in to comment.