GluuFederation / community-edition-setup

Scripts and templates to automate deployment and configuration of the Gluu Server Community Edition
https://gluu.org/docs/ce
MIT License
188 stars 58 forks source link

fix: test-data loader #921

Closed devrimyatar closed 2 years ago

devrimyatar commented 2 years ago

Fix this issue:

root@jgomer2001-apparent-shrimp:/install/community-edition-setup# python3 setup.py -t -x
Please wait while collecting properties...
Loading test data
Process test-data: Loading Test Data
Process test-data: Rendering test templates
Traceback (most recent call last):
  File "setup.py", line 261, in <module>
    testDataLoader.load_test_data()
  File "/install/community-edition-setup/setup_app/test_data_loader.py", line 173, in load_test_data
    base.current_app.RDBMInstaller.create_tables(gluu_schema_json_files)
  File "/install/community-edition-setup/setup_app/installers/rdbm.py", line 155, in create_tables
    alter_table_sql_cmd = 'ALTER TABLE %s{}%s ADD %s{};' % (self.qchar, self.qchar, column_add)
AttributeError: 'RDBMInstaller' object has no attribute 'qchar'
sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication